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