Class WebExtension.InstallException

Object
Throwable
Exception
org.mozilla.geckoview.WebExtension.InstallException
All Implemented Interfaces:
Serializable
Enclosing class:
WebExtension

public static class WebExtension.InstallException extends Exception
Extension thrown when an error occurs during extension installation.
See Also:
  • Field Details

    • code

      public final int code
      One of WebExtension.InstallException.ErrorCodes that provides more information about this exception.
    • extensionId

      @Nullable public final String extensionId
      An optional ID of the extension that caused the exception.
    • extensionName

      @Nullable public final String extensionName
      An optional name of the extension that caused the exception.
    • extensionVersion

      @Nullable public final String extensionVersion
      An optional version of the extension that caused the exception.
  • Constructor Details

    • InstallException

      protected InstallException()
      For testing
  • Method Details