public class DB2Exception extends RuntimeException
RuntimeException signals that an error occurred.| Constructor and Description | 
|---|
DB2Exception(int errorCode,
            String sqlState)  | 
DB2Exception(String message,
            int errorCode,
            String sqlState)  | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
getErrorCode()
Get the error code in the error message sent from DB2 server. 
 | 
String | 
getMessage()
Get the error message in the error message sent from DB2 server. 
 | 
String | 
getSqlState()
Get the SQL state in the error message sent from DB2 server. 
 | 
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic DB2Exception(int errorCode,
                    String sqlState)
public int getErrorCode()
public String getSqlState()
public String getMessage()
getMessage in class ThrowableCopyright © 2020 Eclipse. All rights reserved.