|
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
java.lang.RuntimeException
com.sap.mw.jco.JCO.Exception
General JCO exception object. All errors of the implementation will be thrown using this class.
| Constructor Summary | |
JCO.Exception(int group,
String key,
String message)
Creates an instance of the error object with the specified message |
|
| Method Summary | |
int |
getGroup()
Returns the error group. |
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 |
| Field Detail |
public static final int JCO_ERROR_PROGRAM
public static final int JCO_ERROR_COMMUNICATION
public static final int JCO_ERROR_LOGON_FAILURE
public static final int JCO_ERROR_SYSTEM_FAILURE
public static final int JCO_ERROR_APPLICATION_EXCEPTION
public static final int JCO_ERROR_RESOURCE
public static final int JCO_ERROR_PROTOCOL
public static final int JCO_ERROR_INTERNAL
public static final int JCO_ERROR_CANCELLED
public static final int JCO_ERROR_STATE_BUSY
public static final int JCO_ERROR_EXTENSION
public static final int JCO_ERROR_NULL_HANDLE
public static final int JCO_ERROR_CONVERSION
public static final int JCO_ERROR_FUNCTION_NOT_FOUND
public static final int JCO_ERROR_ILLEGAL_TID
public static final int JCO_ERROR_UNSUPPORTED_CODEPAGE
public static final int JCO_ERROR_ABAP_EXCEPTION
public static final int JCO_ERROR_FIELD_NOT_FOUND
public static final int JCO_ERROR_NOT_SUPPORTED
public static final int JCO_ERROR_SERVER_STARTUP
public static final int JCO_ERROR_XML_PARSER
public static final int JCO_ERROR_ILLEGAL_ARGUMENT
public static final int JCO_ERROR_CONCURRENT_CALL
public static final int JCO_ERROR_INVALID_HANDLE
public static final int JCO_ERROR_INITIALIZATION
public static final int JCO_ERROR_DSR_LOAD_ERROR
public static final int JCO_ERROR_DSR_PASSPORT_NOT_RECEIVED
public static final int JCO_ERROR_DSR_PASSPORT_NOT_VALID
public static final int JCO_ERROR_JARM_LOAD_ERROR
| Constructor Detail |
public JCO.Exception(int group,
String key,
String message)
group - the error groupkey - error code to identify the errormessage - the specified detail message.| Method Detail |
public final int getGroup()
The error group can be one of the following constants:
| Constant | Description |
|---|---|
| JCO_ERROR_ABAP_EXCEPTION | An exception has been thrown by a function module in the remote system |
| JCO_ERROR_APPLICATION_EXCEPTION | An application exception has occurred in the remote SAP system |
| JCO_ERROR_CANCELLED | A registered JCo server has been cancelled |
| JCO_ERROR_COMMUNICATION | Exception caused by network problems, connection breakdowns, gateway problems, inavailability of the remote SAP system, etc. |
| JCO_ERROR_CONVERSION | A conversion between two representations of either a parameter, structure, or table field has failed |
| JCO_ERROR_FIELD_NOT_FOUND | A referenced field in either a JCO.ParameterList, JCO.Structure, or JCO.Table does not exist |
| JCO_ERROR_FUNCTION_NOT_FOUND | A function interface or one of the data structures could not completely be retrieved from the repository |
| JCO_ERROR_ILLEGAL_TID | An invalid transaction ID has been encountered. The TID was either longer than 24 characters or contained illegal characters |
| JCO_ERROR_INITIALIZATION | An initialization process failed |
| JCO_ERROR_INTERNAL | An exception inside of JCo |
| JCO_ERROR_LOGON_FAILURE | Authorization failures during the logon phase usually caused by unknown username, wrong password, invalid certificates, etc. |
| JCO_ERROR_NOT_SUPPORTED | A feature is not being supported by the current version of JCo |
| JCO_ERROR_NULL_HANDLE | An internally used connection handle is invalid |
| JCO_ERROR_PROGRAM | A general program exception has occurred |
| JCO_ERROR_PROTOCOL | An internal communication protocol error has been detected |
| JCO_ERROR_RESOURCE | Indicates that JCO has run out of resources such as connections in a connection pool |
| JCO_ERROR_SERVER_STARTUP | Something went wrong during the startup phase of a JCo server usually caused by passing a wrong gateway host or gateway service |
| JCO_ERROR_STATE_BUSY | The remote SAP system is busy. Try again later |
| JCO_ERROR_SYSTEM_FAILURE | A system failure in the remote SAP system has occurred |
| JCO_ERROR_UNSUPPORTED_CODEPAGE | Either the remote SAP system or the local systems runs under a codepage which is not supported by JCo |
| JCO_ERROR_XML_PARSER | A parse error due to an invalid XML document has occurred |
| JCO_ERROR_ILLEGAL_ARGUMENT | An illegal method argument has been detected |
| JCO_ERROR_CONCURRENT_CALL | A concurrent method call has been detected |
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 | |||||||||