Package org.mozilla.geckoview
Class GeckoSession.GeckoPrintException
- All Implemented Interfaces:
Serializable
- Enclosing class:
- GeckoSession
Thrown when failure occurs when printing from a website.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal int
One ofGeckoSession.GeckoPrintException.Codes
that provides more information about this exception.static final int
The print service was not available.static final int
The print service was not created due to an initialization error.static final int
An error happened while trying to find the canonical browing context -
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_PRINT_SETTINGS_SERVICE_NOT_AVAILABLE
public static final int ERROR_PRINT_SETTINGS_SERVICE_NOT_AVAILABLEThe print service was not available.- See Also:
-
ERROR_UNABLE_TO_CREATE_PRINT_SETTINGS
public static final int ERROR_UNABLE_TO_CREATE_PRINT_SETTINGSThe print service was not created due to an initialization error.- See Also:
-
ERROR_UNABLE_TO_RETRIEVE_CANONICAL_BROWSING_CONTEXT
public static final int ERROR_UNABLE_TO_RETRIEVE_CANONICAL_BROWSING_CONTEXTAn error happened while trying to find the canonical browing context- See Also:
-
code
public final int codeOne ofGeckoSession.GeckoPrintException.Codes
that provides more information about this exception.
-
-
Constructor Details
-
GeckoPrintException
protected GeckoPrintException()For testing.
-
-
Method Details