Code example for SQLIntegrityConstraintViolationException

0
	public static SQLException newSQLFeatureNotSupportedException(String reason, String SQLState, int vendorCode) { 
		return new SQLFeatureNotSupportedException(reason, SQLState, vendorCode); 
	} 
 
	public static SQLException newSQLIntegrityConstraintViolationException(String reason, String SQLState, int vendorCode) { 
		return new SQLIntegrityConstraintViolationException(reason, SQLState, vendorCode); 
	} 
 
	public static SQLException newSQLInvalidAuthorizationSpecException(String reason, String SQLState, int vendorCode) { 
		return new SQLInvalidAuthorizationSpecException(reason, SQLState, vendorCode); 
	} 
 
	public static SQLException newSQLNonTransientConnectionException(String reason, String SQLState, int vendorCode) { 
		return new SQLNonTransientConnectionException(reason, SQLState, vendorCode); 
	} 
 
	public static SQLException newSQLSyntaxErrorException(String reason, String SQLState, int vendorCode) { 
		return new SQLSyntaxErrorException(reason, SQLState, vendorCode); 
	}