Enum Class ExceptionCode
- All Implemented Interfaces:
Serializable,Comparable<ExceptionCode>,Constable
Exception codes for known common error conditions.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionInvalidCallException, caused by invalid arguments received from a client.Generic invalid credentials error condition.Generic forbidden operation error condition.Otp required Generic custom code.Otp blocked generic custom code.OTP required Generic custom code but OTP was not generated, extra request param needed to force OTP generation.Generic specified entity does not exist error condition.Generic unexpected server error condition.Generic unavailable backing service error condition. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ExceptionCodeReturns the enum constant of this class with the specified name.static ExceptionCode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
C4000000
InvalidCallException, caused by invalid arguments received from a client. -
C4010000
Generic invalid credentials error condition. -
C4030000
Generic forbidden operation error condition. -
C4040000
Generic specified entity does not exist error condition. -
S5000000
Generic unexpected server error condition. -
S5030000
Generic unavailable backing service error condition. -
C403000001
Otp required Generic custom code. -
C403000002
Otp blocked generic custom code. -
C403000003
OTP required Generic custom code but OTP was not generated, extra request param needed to force OTP generation.
-
-
Constructor Details
-
ExceptionCode
private ExceptionCode()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-