Code example for SQLTransactionRollbackException

0
	public static SQLException newSQLSyntaxErrorException(String reason, String SQLState, int vendorCode) { 
		return new SQLSyntaxErrorException(reason, SQLState, vendorCode); 
	} 
 
	public static SQLException newSQLTransactionRollbackException(String reason, String SQLState, int vendorCode) { 
		return new SQLTransactionRollbackException(reason, SQLState, vendorCode); 
	} 
 
	public static SQLException newSQLTransientConnectionException(String reason, String SQLState, int vendorCode) { 
		return new SQLTransientConnectionException(reason, SQLState, vendorCode); 
	} 
 
	public static SQLException newSQLTimeoutException(String reason, String SQLState, int vendorCode) { 
		return new SQLTimeoutException(reason, SQLState, vendorCode); 
	} 
 
	public static SQLException newSQLRecoverableException(String reason, String SQLState, int vendorCode) { 
		return new SQLRecoverableException(reason, SQLState, vendorCode); 
	}