|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.sap.mw.jco.JCO.J2EEAbapException
A convenience class that wraps a JCO.AbapException. This can be used to throw AbapException in J2EE compliant servers which do not allow runtime exception to be thrown. This class ensures that a J2EE server sends the message key back to the SAP system while all other exceptions might get caught by J2EE containers.
| Constructor Summary | |
JCO.J2EEAbapException(JCO.AbapException ex)
Create a new instance of the J2EEAbapException |
|
JCO.J2EEAbapException(String key)
Create a new instance of the J2EEAbapException |
|
JCO.J2EEAbapException(String key,
String message)
Create a new instance of the J2EEAbapException |
|
| Method Summary | |
JCO.AbapException |
getAbapException()
Returns the original JCO.AbapException |
int |
getGroup()
Returns the error group constant JCO_ERROR_ABAP_EXCEPTION |
String |
getKey()
Returns the error key |
String |
toString()
Returns a short description of this error |
| 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 JCO.J2EEAbapException(JCO.AbapException ex)
ex - the original JCO.AbapExceptionpublic JCO.J2EEAbapException(String key)
key - the name of the exception as defined in the function
module
public JCO.J2EEAbapException(String key,
String message)
key - the name of the exception as defined in the function
modulemessage - the message text| Method Detail |
public final JCO.AbapException getAbapException()
public final int getGroup()
public final String getKey()
public String toString()
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||