Code example for SQLException

Methods: setNextException

0
	public SQLException getNextException() {
		return targetSQLException.getNextException();
	} 
 
	public void setNextException(SQLException ex) {
		targetSQLException.setNextException(ex);
	} 
	 
 
	public Throwable getCause() {
		return targetSQLException;
	} 
 
	public String getMessage() {
		return message;
	} 
} 
Connect your IDE to all the code out there  Get Codota for Java