public class SQLException
extends java.lang.Exception
Constructor and Description |
---|
SQLException() |
SQLException(java.lang.String reason) |
SQLException(java.lang.String reason,
java.lang.String sqlState) |
SQLException(java.lang.String reason,
java.lang.String sqlState,
int errorCode) |
SQLException(java.lang.String reason,
java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode() |
SQLException |
getNextException() |
java.lang.String |
getSQLState() |
void |
setNextException(SQLException ex) |
public SQLException(java.lang.String reason, java.lang.String sqlState, int errorCode)
public SQLException(java.lang.String reason, java.lang.String sqlState)
public SQLException(java.lang.String reason, java.lang.Throwable cause)
public SQLException(java.lang.String reason)
public SQLException()
public java.lang.String getSQLState()
public int getErrorCode()
public SQLException getNextException()
public void setNextException(SQLException ex)