If errors occur while using the DBM Java classes, the system triggers the following exceptions:
Class |
When Is This Exception Triggered? |
---|---|
com.sap.dbtech.powertoys.DBMException |
When the Database Manager program registers an error |
com.sap.dbtech.rte.comm.RTEException |
When the Java platform cannot set up a connection to the Database Manager program When an existing connection is interrupted |
Method |
Description |
---|---|
public int getErrorCode() |
Returns the DBM error code |
public String getErrorID() |
Returns the DBM error number |
public String toString() |
Returns an exception as a string object |