public class OciException extends Exception
| Modifier and Type | Field and Description |
|---|---|
static int |
LOGIN_FAILED
Error code - Login failed, bad password, unknown user, ...
|
static int |
NO_HOOK_URL
Error code - the hook URL field is missing or it's empty.
|
static int |
NO_OCI_SESSION
Error code - The current jalo Session is not an Oci Session
|
static int |
NO_OUTBOUND_SECTION
Error code - the outbound section is not available (not bound to the jalo session).
|
static int |
NOT_OCI_LOGIN
Error code - the user is not logged in per OCI.
|
static int |
OCI_FIELD_MISSING_OR_NO_DATA
Error code - required OCI field is missing or has no date
|
static int |
OUTBOUND_FIELDS_MISSING
Error code - some fields in outbound section are missing.
|
static int |
SRM_FIELD_MISSING
Error code - SRM Server should have a field, but this is missing
|
static int |
UNSPECIFIED_ERROR
Error code - unspecified error.
|
| Constructor and Description |
|---|
OciException()
unspecific error.
|
OciException(String errorMessage)
unspecific error with message.
|
OciException(String errorMessage,
int errorCode)
oci exception with message and error code
|
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorCode()
Returns the error code.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final int UNSPECIFIED_ERROR
public static final int NOT_OCI_LOGIN
public static final int NO_OUTBOUND_SECTION
public static final int NO_HOOK_URL
public static final int OUTBOUND_FIELDS_MISSING
public static final int OCI_FIELD_MISSING_OR_NO_DATA
public static final int NO_OCI_SESSION
public static final int SRM_FIELD_MISSING
public static final int LOGIN_FAILED
public OciException()
public OciException(String errorMessage)
errorMessage - the error messagepublic OciException(String errorMessage, int errorCode)
errorMessage - the error messageerrorCode - use for error code one of the constants from this classCopyright © 2017 SAP SE. All Rights Reserved.