Package com.sap.conn.jco
Class JCoRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sap.conn.jco.JCoRuntimeException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ConversionException
,XMLParserException
Basic JCo exception for JCo runtime exceptions.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionJCoRuntimeException
(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. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
JCoRuntimeException
Creates an instance of the exception object with the specified message and group.- Parameters:
group
- the error groupmessage
- the specified detail message.- Since:
- JCo 3.0.6
-
JCoRuntimeException
Creates an instance of the exception object with the specified message, group, and key.- Parameters:
group
- the error groupkey
- error code to identify the errormessage
- the specified detail message.
-
JCoRuntimeException
Creates an instance of the exception object with the specified message, group, and cause exception.- Parameters:
group
- the error groupmessage
- the specified detail message.causedBy
- the cause exception- Since:
- JCo 3.0.6
-
JCoRuntimeException
Creates an instance of the exception object with the specified message, group, key, and cause exception.- Parameters:
group
- the error groupkey
- error code to identify the errormessage
- the specified detail message.causedBy
- the cause exception
-
-
Method Details
-
getGroup
public final int getGroup()Returns the error group. Valid error groups are the constantsJCoException.JCO_ERROR*
.- Returns:
- the error group
-
getKey
Returns the error key.- Returns:
- the error key
-
toString
Returns a short description of this exception.
-