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 givenPdfExtractorExceptionTypeand cause.PdfExtractorException(String message, PdfExtractorExceptionType type) Creates a new exception with the given message andPdfExtractorExceptionTypePdfExtractorException(String message, PdfExtractorExceptionType type, Throwable cause) Creates a new exception with the givenPdfExtractorExceptionTypeand cause -
Method Summary
Modifier and TypeMethodDescriptiongetType()Returns thePdfExtractorExceptionTypeof 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 givenPdfExtractorExceptionTypeand 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 givenPdfExtractorExceptionTypeand 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 thePdfExtractorExceptionTypeof the exception.- Returns:
- the PdfExtractorExceptionType
-