Class ExperimentDelegate.ExperimentException

Object
Throwable
Exception
org.mozilla.geckoview.ExperimentDelegate.ExperimentException
All Implemented Interfaces:
Serializable
Enclosing interface:
ExperimentDelegate

public static class ExperimentDelegate.ExperimentException extends Exception
An exception to be used when there is an issue retrieving or sending information to the experiment framework.
See Also:
  • Field Details

    • ERROR_UNKNOWN

      public static final int ERROR_UNKNOWN
      Default error for unexpected issues.
      See Also:
    • ERROR_FEATURE_NOT_FOUND

      public static final int ERROR_FEATURE_NOT_FOUND
      The experiment feature was not available.
      See Also:
    • ERROR_EXPERIMENT_SLUG_NOT_FOUND

      public static final int ERROR_EXPERIMENT_SLUG_NOT_FOUND
      The experiment slug was not available.
      See Also:
    • ERROR_EXPERIMENT_DELEGATE_NOT_IMPLEMENTED

      public static final int ERROR_EXPERIMENT_DELEGATE_NOT_IMPLEMENTED
      The experiment delegate is not implemented.
      See Also:
    • code

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

    • ExperimentException

      public ExperimentException(int code)
      Construct an [ExperimentException]
      Parameters:
      code - error code the given exception corresponds to
  • Method Details