Code example for SQLException

Methods: getErrorCode

0
	public String getSQLState() {
		return targetSQLException.getSQLState();
	} 
 
	public int getErrorCode() { 
		return targetSQLException.getErrorCode();
	} 
 
	public SQLException getNextException() {
		return targetSQLException.getNextException();
	} 
 
	public void setNextException(SQLException ex) {
		targetSQLException.setNextException(ex);
	} 
	 
 
	public Throwable getCause() {
		return targetSQLException;
	}