Package org.mozilla.geckoview
Class ExperimentDelegate.ExperimentException
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- ExperimentDelegate
An exception to be used when there is an issue retrieving or sending information to the
experiment framework.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic @interface
Experiment exception error codes. -
Field Summary
Modifier and TypeFieldDescriptionfinal int
One ofExperimentDelegate.ExperimentException.Codes
that provides more information about this exception.static final int
The experiment delegate is not implemented.static final int
The experiment slug was not available.static final int
The experiment feature was not available.static final int
Default error for unexpected issues. -
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_UNKNOWN
public static final int ERROR_UNKNOWNDefault error for unexpected issues.- See Also:
-
ERROR_FEATURE_NOT_FOUND
public static final int ERROR_FEATURE_NOT_FOUNDThe experiment feature was not available.- See Also:
-
ERROR_EXPERIMENT_SLUG_NOT_FOUND
public static final int ERROR_EXPERIMENT_SLUG_NOT_FOUNDThe experiment slug was not available.- See Also:
-
ERROR_EXPERIMENT_DELEGATE_NOT_IMPLEMENTED
public static final int ERROR_EXPERIMENT_DELEGATE_NOT_IMPLEMENTEDThe experiment delegate is not implemented.- See Also:
-
code
public final int codeOne ofExperimentDelegate.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