com.sap.mw.jco
Class JCO.AbapException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sap.mw.jco.JCO.Exception
com.sap.mw.jco.JCO.AbapException
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- JCO
- public static class JCO.AbapException
- extends JCO.Exception
A convenience class on top of JCO.Exception that
reports errors which occurred in a SAP system function module
- See Also:
- Serialized Form
| Fields inherited from class com.sap.mw.jco.JCO.Exception |
JCO_ERROR_ABAP_EXCEPTION, JCO_ERROR_APPLICATION_EXCEPTION, JCO_ERROR_CANCELLED, JCO_ERROR_COMMUNICATION, JCO_ERROR_CONCURRENT_CALL, JCO_ERROR_CONVERSION, JCO_ERROR_DSR_LOAD_ERROR, JCO_ERROR_DSR_PASSPORT_NOT_RECEIVED, JCO_ERROR_DSR_PASSPORT_NOT_VALID, JCO_ERROR_EXTENSION, JCO_ERROR_FIELD_NOT_FOUND, JCO_ERROR_FUNCTION_NOT_FOUND, JCO_ERROR_ILLEGAL_ARGUMENT, JCO_ERROR_ILLEGAL_TID, JCO_ERROR_INITIALIZATION, JCO_ERROR_INTERNAL, JCO_ERROR_INVALID_HANDLE, JCO_ERROR_JARM_LOAD_ERROR, JCO_ERROR_LOGON_FAILURE, JCO_ERROR_NOT_SUPPORTED, JCO_ERROR_NULL_HANDLE, JCO_ERROR_PROGRAM, JCO_ERROR_PROTOCOL, JCO_ERROR_RESOURCE, JCO_ERROR_SERVER_STARTUP, JCO_ERROR_STATE_BUSY, JCO_ERROR_SYSTEM_FAILURE, JCO_ERROR_UNSUPPORTED_CODEPAGE, JCO_ERROR_XML_PARSER |
JCO.AbapException
public JCO.AbapException(String key)
- Creates an exception with the specified key.
This constructor is normally used in the server's handleRequest() methods
to throw an exception which is part of the function interface definition.
In such a case the SAP system will not raise a system exception. If however
the specified key is not a defined exception for the currently processed function module
the SAP will raise a system exception.
- Parameters:
key - the key for the exception as specified in the function interface
JCO.AbapException
public JCO.AbapException(String key,
String message)
- Creates an exception
- Parameters:
key - the key for the exceptionmessage - a message text
Copyright 2006 SAP AG Complete Copyright Notice