public class JCoRuntimeException extends RuntimeException
Constructor and Description |
---|
JCoRuntimeException(int group,
String message)
Creates an instance of the exception object with the specified message and group.
|
JCoRuntimeException(int group,
String key,
String message)
Creates an instance of the exception object with the specified message, group, and key.
|
JCoRuntimeException(int group,
String key,
String message,
Throwable causedBy)
Creates an instance of the exception object with the specified message, group, key, and cause exception.
|
JCoRuntimeException(int group,
String message,
Throwable causedBy)
Creates an instance of the exception object with the specified message, group, and cause exception.
|
Modifier and Type | Method and Description |
---|---|
int |
getGroup()
Returns the error group.
|
String |
getKey()
Returns the error key.
|
String |
toString()
Returns a short description of this exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public JCoRuntimeException(int group, String message)
group
- the error groupmessage
- the specified detail message.public JCoRuntimeException(int group, String key, String message)
group
- the error groupkey
- error code to identify the errormessage
- the specified detail message.public JCoRuntimeException(int group, String message, Throwable causedBy)
group
- the error groupmessage
- the specified detail message.causedBy
- the cause exceptionpublic JCoRuntimeException(int group, String key, String message, Throwable causedBy)
group
- the error groupkey
- error code to identify the errormessage
- the specified detail message.causedBy
- the cause exceptionpublic final int getGroup()
JCoException.JCO_ERROR*
.public final String getKey()
Copyright © 2016 SAP. All Rights Reserved.