public final class SQLExceptionFactory extends java.lang.Object
Constructor and Description |
---|
SQLExceptionFactory() |
Modifier and Type | Method and Description |
---|---|
static java.sql.SQLException |
createSQLException(java.lang.String message,
java.lang.Throwable cause)
Helper method for missing SQLException(String, Throwable) constructor in Java < 1.6
|
static java.sql.SQLException |
createSQLException(java.lang.Throwable cause)
Helper method for missing SQLException(Throwable) constructor in Java < 1.6
|
public SQLExceptionFactory()
public static java.sql.SQLException createSQLException(java.lang.String message, java.lang.Throwable cause)
message
- the description of the exceptioncause
- the exception to wrappublic static java.sql.SQLException createSQLException(java.lang.Throwable cause)
cause
- the exception to wrap