public enum StandardServiceExceptionCodes extends java.lang.Enum<StandardServiceExceptionCodes> implements StandardServiceExceptionCode
| Enum Constant and Description |
|---|
ERROR_RESPONSE_FROM_SERVICE
"The 3rd party service returned an error".
|
INCOMPLETE_SERVICE_CONFIGURATION
"The service configuration is missing a required value".
|
INTERNAL_SERVER_ERROR
Internal server error.
|
INVALID_OR_MISSING_FIELD
Invalid field or missing field error.
|
NO_CONFIGURATION_FOUND
Internal server error.
|
NO_SUCH_SERVICE
Internal server error.
|
NOT_AUTHORIZED
Authorization error.
|
NOT_AVAILABLE
Not available error.
|
NOT_FOUND
Not found error.
|
NOT_IMPLEMENTED
Not implemented error.
|
NOT_VALID
"The service id is invalid for the type of service requested".
|
TIMEOUT
Time out error.
|
UNKNOWN
Unknown error.
|
UNREADABLE_REQUEST
"Unreadable request was send to CIS".
|
UNREADABLE_RESPONSE
"Unreadable response came from the 3rd party".
|
| Modifier and Type | Method and Description |
|---|---|
static StandardServiceExceptionCode |
fromCode(java.lang.String c) |
int |
getCode() |
java.lang.String |
getMessage() |
java.lang.String |
toString() |
static StandardServiceExceptionCodes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StandardServiceExceptionCodes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StandardServiceExceptionCodes UNKNOWN
public static final StandardServiceExceptionCodes NOT_FOUND
public static final StandardServiceExceptionCodes NOT_AUTHORIZED
public static final StandardServiceExceptionCodes INTERNAL_SERVER_ERROR
public static final StandardServiceExceptionCodes NO_SUCH_SERVICE
public static final StandardServiceExceptionCodes NO_CONFIGURATION_FOUND
public static final StandardServiceExceptionCodes NOT_IMPLEMENTED
public static final StandardServiceExceptionCodes NOT_AVAILABLE
public static final StandardServiceExceptionCodes TIMEOUT
public static final StandardServiceExceptionCodes INVALID_OR_MISSING_FIELD
public static final StandardServiceExceptionCodes NOT_VALID
public static final StandardServiceExceptionCodes INCOMPLETE_SERVICE_CONFIGURATION
public static final StandardServiceExceptionCodes ERROR_RESPONSE_FROM_SERVICE
public static final StandardServiceExceptionCodes UNREADABLE_RESPONSE
public static final StandardServiceExceptionCodes UNREADABLE_REQUEST
public static StandardServiceExceptionCodes[] values()
for (StandardServiceExceptionCodes c : StandardServiceExceptionCodes.values()) System.out.println(c);
public static StandardServiceExceptionCodes 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 nullpublic int getCode()
getCode in interface StandardServiceExceptionCodepublic java.lang.String getMessage()
getMessage in interface StandardServiceExceptionCodepublic java.lang.String toString()
toString in class java.lang.Enum<StandardServiceExceptionCodes>public static StandardServiceExceptionCode fromCode(java.lang.String c)
Copyright © 2018 SAP SE. All Rights Reserved.