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
-
Field Summary
Modifier and TypeFieldDescriptionfinal int
One ofGeckoSession.GeckoPrintException.Codes
that provides more information about this exception.static final int
An error happened while trying to find the activity contextstatic final int
An error happened while trying to find the activity context delegatestatic final int
An error happened while trying to find the print delegatestatic 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
-
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:
-
ERROR_NO_ACTIVITY_CONTEXT_DELEGATE
public static final int ERROR_NO_ACTIVITY_CONTEXT_DELEGATEAn error happened while trying to find the activity context delegate- See Also:
-
ERROR_NO_ACTIVITY_CONTEXT
public static final int ERROR_NO_ACTIVITY_CONTEXTAn error happened while trying to find the activity context- See Also:
-
ERROR_NO_PRINT_DELEGATE
public static final int ERROR_NO_PRINT_DELEGATEAn error happened while trying to find the print delegate- 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