|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sap.conn.jco.JCoRuntimeException
public class JCoRuntimeException
Basic JCo exception for JCo runtime exceptions.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
int |
getGroup()
Returns the error group. |
String |
getKey()
Returns the error key. |
String |
toString()
Returns a short description of this exception. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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 exceptionMethod Detail |
---|
public final int getGroup()
JCoException.JCO_ERROR*
.
public final String getKey()
public String toString()
toString
in class Throwable
JCoRuntimeException
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |