Package de.bsvrz.sys.funclib.srp6
Enum SRP6Exception.CauseType
- java.lang.Object
-
- java.lang.Enum<SRP6Exception.CauseType>
-
- de.bsvrz.sys.funclib.srp6.SRP6Exception.CauseType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SRP6Exception.CauseType>
- Enclosing class:
- SRP6Exception
public static enum SRP6Exception.CauseType extends java.lang.Enum<SRP6Exception.CauseType>
SRP-6a exception causes.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BAD_CREDENTIALS
Invalid credentials (password).BAD_PUBLIC_VALUE
Invalid public client or server value ('A' or 'B').TIMEOUT
SRP-6a authentication session timeout.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SRP6Exception.CauseType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SRP6Exception.CauseType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BAD_PUBLIC_VALUE
public static final SRP6Exception.CauseType BAD_PUBLIC_VALUE
Invalid public client or server value ('A' or 'B').
-
BAD_CREDENTIALS
public static final SRP6Exception.CauseType BAD_CREDENTIALS
Invalid credentials (password).
-
TIMEOUT
public static final SRP6Exception.CauseType TIMEOUT
SRP-6a authentication session timeout.
-
-
Method Detail
-
values
public static SRP6Exception.CauseType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SRP6Exception.CauseType c : SRP6Exception.CauseType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SRP6Exception.CauseType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-