Class SheetAlreadyExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.github.mbenincasa.javaexcelutils.exceptions.SheetAlreadyExistsException
- All Implemented Interfaces:
Serializable
This exception signals that you are trying to insert a sheet into a workbook that already contains that name
- Since:
- 0.3.0
- Author:
- Mirko Benincasa
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs anSheetAlreadyExistsException
withnull
as its error detail message.SheetAlreadyExistsException
(String message) Constructs anSheetAlreadyExistsException
with the specified detail message.SheetAlreadyExistsException
(String message, Throwable cause) Constructs anSheetAlreadyExistsException
with the specified detail message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SheetAlreadyExistsException
public SheetAlreadyExistsException()Constructs anSheetAlreadyExistsException
withnull
as its error detail message. -
SheetAlreadyExistsException
Constructs anSheetAlreadyExistsException
with the specified detail message.- Parameters:
message
- The detail message (which is saved for later retrieval by theThrowable.getMessage()
method)
-
SheetAlreadyExistsException
Constructs anSheetAlreadyExistsException
with the specified detail message and cause.Note that the detail message associated with
cause
is not automatically incorporated into this exception's detail message.- Parameters:
message
- The detail message (which is saved for later retrieval by theThrowable.getMessage()
method)cause
- The cause (which is saved for later retrieval by theThrowable.getCause()
method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
-