public static enum SessionOperationException.SessionOperationErrorCategory extends java.lang.Enum<SessionOperationException.SessionOperationErrorCategory>
enumeration provides the possible error reasons and categories that must be managed
when handling a session operation exceptions: SESSION_ALREADY_EXISTS or
SESSION_DOES_NOT_EXIST.| Enum Constant and Description |
|---|
SESSION_ALREADY_EXISTS
Error code when the charging session already exists in the connected SAP CC system.
|
SESSION_DOES_NOT_EXIST
Error code when the session should exist but does not exist in the SAP CC system.
|
| Modifier and Type | Method and Description |
|---|---|
static SessionOperationException.SessionOperationErrorCategory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SessionOperationException.SessionOperationErrorCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SessionOperationException.SessionOperationErrorCategory SESSION_ALREADY_EXISTS
reservationID set in the operation request.
prepareReserve(..) method.
public static final SessionOperationException.SessionOperationErrorCategory SESSION_DOES_NOT_EXIST
The session must be started first if you want to update or stop it.
public static SessionOperationException.SessionOperationErrorCategory[] values()
for (SessionOperationException.SessionOperationErrorCategory c : SessionOperationException.SessionOperationErrorCategory.values()) System.out.println(c);
public static SessionOperationException.SessionOperationErrorCategory 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