public enum InvalidKsnExceptionCause extends java.lang.Enum<InvalidKsnExceptionCause>
InvalidKsnException to specify the cause of the exception.| Enum Constant and Description |
|---|
KSN_REQUIRED
A KSN was not supplied.
|
KSN_SIZE_INVALID
The supplied KSN size is invalid.
|
| Modifier and Type | Method and Description |
|---|---|
static InvalidKsnExceptionCause |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InvalidKsnExceptionCause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InvalidKsnExceptionCause KSN_SIZE_INVALID
Resolution: The application should supply a valid KSN size and retry.
public static final InvalidKsnExceptionCause KSN_REQUIRED
Resolution: The application should supply a valid KSN and retry.
public static InvalidKsnExceptionCause[] values()
for (InvalidKsnExceptionCause c : InvalidKsnExceptionCause.values()) System.out.println(c);
public static InvalidKsnExceptionCause valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null