Package org.mozilla.geckoview
Class PdfViewerController.PdfViewerException
- All Implemented Interfaces:
Serializable
- Enclosing class:
- PdfViewerController
An exception to be used when there is an issue sending information to the PDF viewer displaying
a document.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfacePDF viewer exception error codes. -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal intPdfViewerController.PdfViewerException.Codethat provides more information about this exception.static final intThe session is not displaying a PDF.static final intDefault error for unexpected issues. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
ERROR_UNKNOWN
public static final int ERROR_UNKNOWNDefault error for unexpected issues.- See Also:
-
ERROR_NOT_A_PDF
public static final int ERROR_NOT_A_PDFThe session is not displaying a PDF.- See Also:
-
code
public final int codePdfViewerController.PdfViewerException.Codethat provides more information about this exception.
-
-
Constructor Details
-
PdfViewerException
public PdfViewerException(int code) Construct a [PdfViewerException]- Parameters:
code- Error code the given exception corresponds to.
-
-
Method Details