Class PdfExtractorException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- de.frankmuenster.mahoe.pdfextractor.PdfExtractorException
-
- All Implemented Interfaces:
java.io.Serializable
public class PdfExtractorException extends java.lang.Exception
Exception to report error during a PDF extraction- Since:
- 2.6.0
- Author:
- Frank Münster
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PdfExtractorException(PdfExtractorExceptionType type)
Creates a new exception with the givenPdfExtractorExceptionType
.PdfExtractorException(PdfExtractorExceptionType type, java.lang.Throwable cause)
Creates a new exception with the givenPdfExtractorExceptionType
and cause.PdfExtractorException(java.lang.String message, PdfExtractorExceptionType type)
Creates a new exception with the given message andPdfExtractorExceptionType
PdfExtractorException(java.lang.String message, PdfExtractorExceptionType type, java.lang.Throwable cause)
Creates a new exception with the givenPdfExtractorExceptionType
and cause
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PdfExtractorExceptionType
getType()
Returns thePdfExtractorExceptionType
of the exception.
-
-
-
Constructor Detail
-
PdfExtractorException
public PdfExtractorException(PdfExtractorExceptionType type)
Creates a new exception with the givenPdfExtractorExceptionType
.- Parameters:
type
- the type
-
PdfExtractorException
public PdfExtractorException(PdfExtractorExceptionType type, java.lang.Throwable cause)
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
public PdfExtractorException(java.lang.String message, PdfExtractorExceptionType type)
Creates a new exception with the given message andPdfExtractorExceptionType
- Parameters:
message
- the detail messagetype
- the type
-
PdfExtractorException
public PdfExtractorException(java.lang.String message, PdfExtractorExceptionType type, java.lang.Throwable cause)
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 Detail
-
getType
public PdfExtractorExceptionType getType()
Returns thePdfExtractorExceptionType
of the exception.- Returns:
- the PdfExtractorExceptionType
-
-