Package org.keycloak.client.clienttype
Enum Class ClientTypeException.Message
java.lang.Object
java.lang.Enum<ClientTypeException.Message>
org.keycloak.client.clienttype.ClientTypeException.Message
- All Implemented Interfaces:
Serializable
,Comparable<ClientTypeException.Message>
,Constable
- Enclosing class:
- ClientTypeException
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionRegister all client type exception messages through this enum to keep things consistent across the services. -
Method Summary
Modifier and TypeMethodDescriptionstatic ClientTypeException.Message
Returns the enum constant of this class with the specified name.static ClientTypeException.Message[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INVALID_CLIENT_TYPE
Register all client type exception messages through this enum to keep things consistent across the services. -
CANNOT_CHANGE_CLIENT_TYPE
-
INVALID_CLIENT_TYPE_PROVIDER
-
CLIENT_TYPE_FIELD_NOT_APPLICABLE
-
INVALID_CLIENT_TYPE_CONFIGURATION
-
DUPLICATE_CLIENT_TYPE
-
CLIENT_UPDATE_FAILED_CLIENT_TYPE_VALIDATION
-
CLIENT_TYPE_NOT_FOUND
-
CLIENT_TYPE_FAILED_TO_LOAD
-
-
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
-
exception
-
getMessage
-