Package org.mozilla.geckoview
Class AIFeaturesController.AIFeaturesException
- All Implemented Interfaces:
Serializable
- Enclosing class:
- AIFeaturesController
An exception for when there is an issue communicating with the AI features toolkit.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfaceAI features exception error codes. -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal intAIFeaturesController.AIFeaturesException.Codethat provides more information about this exception.static final intCould not make the AI feature available.static final intAn issue with deserialization or null result.static final intCould not enable or block the AI feature.static final intDefault error for unexpected issues.static final intThe requested AI feature ID is not recognized. -
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_COULD_NOT_PARSE
public static final int ERROR_COULD_NOT_PARSEAn issue with deserialization or null result.- See Also:
-
ERROR_UNKNOWN_FEATURE
public static final int ERROR_UNKNOWN_FEATUREThe requested AI feature ID is not recognized.- See Also:
-
ERROR_COULD_NOT_SET
public static final int ERROR_COULD_NOT_SETCould not enable or block the AI feature.- See Also:
-
ERROR_COULD_NOT_MAKE_AVAILABLE
public static final int ERROR_COULD_NOT_MAKE_AVAILABLECould not make the AI feature available.- See Also:
-
code
public final int codeAIFeaturesController.AIFeaturesException.Codethat provides more information about this exception.
-
-
Constructor Details
-
AIFeaturesException
public AIFeaturesException(int code) Construct an [AIFeaturesException]- Parameters:
code- Error code the given exception corresponds to.
-
-
Method Details