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
Nested ClassesModifier and TypeClassDescriptionstatic @interfaceExperiment exception error codes. -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal intOne ofExperimentDelegate.ExperimentException.Codesthat provides more information about this exception.static final intThe experiment delegate is not implemented.static final intThe experiment slug was not available.static final intThe experiment feature was not available.static final intDefault error for unexpected issues. -
Constructor Summary
Constructors -
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.Codesthat 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