Class GeckoSession.GeckoPrintException

Object
Throwable
Exception
org.mozilla.geckoview.GeckoSession.GeckoPrintException
All Implemented Interfaces:
Serializable
Enclosing class:
GeckoSession

public static class GeckoSession.GeckoPrintException extends Exception
Thrown when failure occurs when printing from a website.
See Also:
  • Field Details

    • ERROR_PRINT_SETTINGS_SERVICE_NOT_AVAILABLE

      public static final int ERROR_PRINT_SETTINGS_SERVICE_NOT_AVAILABLE
      The print service was not available.
      See Also:
    • ERROR_UNABLE_TO_CREATE_PRINT_SETTINGS

      public static final int ERROR_UNABLE_TO_CREATE_PRINT_SETTINGS
      The 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_CONTEXT
      An 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_DELEGATE
      An error happened while trying to find the activity context delegate
      See Also:
    • ERROR_NO_ACTIVITY_CONTEXT

      public static final int ERROR_NO_ACTIVITY_CONTEXT
      An error happened while trying to find the activity context
      See Also:
    • ERROR_NO_PRINT_DELEGATE

      public static final int ERROR_NO_PRINT_DELEGATE
      An error happened while trying to find the print delegate
      See Also:
    • code

      public final int code
      One of GeckoSession.GeckoPrintException.Codes that provides more information about this exception.
  • Constructor Details

    • GeckoPrintException

      protected GeckoPrintException()
      For testing.
  • Method Details