public interface ExceptionFactory
| Modifier and Type | Method and Description |
|---|---|
java.sql.SQLException |
getArgumentFerry(java.sql.SQLException se)
Unpack a SQL exception, looking for an EmbedSQLException which carries
the Derby messageID and args which we will serialize across DRDA so
that the client can reconstitute a SQLException with appropriate text.
|
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.
|
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.
|
java.sql.SQLException getArgumentFerry(java.sql.SQLException se)
se - the exception to unpackjava.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 argumentsjava.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.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.