Class PdfExtractorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.frankmuenster.mahoe.pdfextractor.PdfExtractorException
- All Implemented Interfaces:
Serializable
Exception to report error during a PDF extraction
- Since:
- 2.6.0
- Author:
- Frank Münster
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new exception with the givenPdfExtractorExceptionType
.PdfExtractorException
(PdfExtractorExceptionType type, Throwable cause) Creates a new exception with the givenPdfExtractorExceptionType
and cause.PdfExtractorException
(String message, PdfExtractorExceptionType type) Creates a new exception with the given message andPdfExtractorExceptionType
PdfExtractorException
(String message, PdfExtractorExceptionType type, Throwable cause) Creates a new exception with the givenPdfExtractorExceptionType
and cause -
Method Summary
Modifier and TypeMethodDescriptiongetType()
Returns thePdfExtractorExceptionType
of the exception.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PdfExtractorException
Creates a new exception with the givenPdfExtractorExceptionType
.- Parameters:
type
- the type
-
PdfExtractorException
Creates a new exception with the givenPdfExtractorExceptionType
and cause.- Parameters:
type
- the typecause
- the cause. (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
-
PdfExtractorException
Creates a new exception with the given message andPdfExtractorExceptionType
- Parameters:
message
- the detail messagetype
- the type
-
PdfExtractorException
Creates a new exception with the givenPdfExtractorExceptionType
and cause- Parameters:
message
- the detail messagetype
- the typecause
- the cause. (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
-
-
Method Details
-
getType
Returns thePdfExtractorExceptionType
of the exception.- Returns:
- the PdfExtractorExceptionType
-