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 anSheetAlreadyExistsExceptionwithnullas its error detail message.SheetAlreadyExistsException(String message) Constructs anSheetAlreadyExistsExceptionwith the specified detail message.SheetAlreadyExistsException(String message, Throwable cause) Constructs anSheetAlreadyExistsExceptionwith 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 anSheetAlreadyExistsExceptionwithnullas its error detail message. -
SheetAlreadyExistsException
Constructs anSheetAlreadyExistsExceptionwith the specified detail message.- Parameters:
message- The detail message (which is saved for later retrieval by theThrowable.getMessage()method)
-
SheetAlreadyExistsException
Constructs anSheetAlreadyExistsExceptionwith the specified detail message and cause.Note that the detail message associated with
causeis 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.)
-