SQLExceptionFactorypublic abstract class ExceptionFactory
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
private static ExceptionFactory |
INSTANCE |
The singleton ExceptionFactory instance.
|
| Constructor | Description |
|---|---|
ExceptionFactory() |
| Modifier and Type | Method | Description |
|---|---|---|
static ExceptionFactory |
getInstance() |
Get the singleton exception factory instance.
|
abstract java.sql.SQLException |
getSQLException(java.lang.String message,
java.lang.String messageId,
java.sql.SQLException next,
int severity,
java.lang.Throwable cause,
java.lang.Object... args) |
Construct an SQLException whose message and severity are specified
explicitly.
|
abstract java.sql.SQLException |
getSQLException(java.lang.String messageId,
java.sql.SQLException next,
java.lang.Throwable cause,
java.lang.Object... args) |
Construct an SQLException whose message and severity are derived from
the message id.
|
private static final ExceptionFactory INSTANCE
public static ExceptionFactory getInstance()
ExceptionFactory instancepublic abstract java.sql.SQLException getSQLException(java.lang.String message,
java.lang.String messageId,
java.sql.SQLException next,
int severity,
java.lang.Throwable cause,
java.lang.Object... args)
message - the exception messagemessageId - the message idnext - the next SQLExceptionseverity - the severity of the exceptioncause - the cause of the exceptionargs - the message argumentspublic abstract java.sql.SQLException getSQLException(java.lang.String messageId,
java.sql.SQLException next,
java.lang.Throwable cause,
java.lang.Object... args)
messageId - the message idnext - the next SQLExceptioncause - the cause of the exceptionargs - the message argumentsApache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.