| Modifier and Type | Field and Description |
|---|---|
| private static final ExceptionFactory | INSTANCE
The singleton ExceptionFactory instance. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static ExceptionFactory | |
| public abstract SQLException | Returns: an SQLExceptionthe exception message message, String the message id messageId, SQLException the next SQLException next, int the severity of the exception severity, Throwable the cause of the exception cause, Object... the message arguments args)Construct an SQLException whose message and severity are specified explicitly. |
| public abstract SQLException | Returns: an SQLExceptionthe message id messageId, SQLException the next SQLException next, Throwable the cause of the exception cause, Object... the message arguments args)Construct an SQLException whose message and severity are derived from the message id. |
| INSTANCE | back to summary |
|---|---|
| private static final ExceptionFactory INSTANCE The singleton ExceptionFactory instance. | |
| ExceptionFactory | back to summary |
|---|---|
| public ExceptionFactory() | |
| getInstance | back to summary |
|---|---|
| public static ExceptionFactory getInstance() Get the singleton exception factory instance.
| |
| getSQLException | back to summary |
|---|---|
| public abstract SQLException getSQLException(String message, String messageId, SQLException next, int severity, Throwable cause, Object... args) Construct an SQLException whose message and severity are specified explicitly.
| |
| getSQLException | back to summary |
|---|---|
| public abstract SQLException getSQLException(String messageId, SQLException next, Throwable cause, Object... args) Construct an SQLException whose message and severity are derived from the message id.
| |