@Deprecated
public class GDSException
extends java.lang.Exception
| Constructor and Description |
|---|
GDSException(int fbErrorCode)
Deprecated.
Create a new instance.
|
GDSException(int type,
int intParam)
Deprecated.
will be removed in Jaybird 6, if you really must use this class, use
GDSException(String),
GDSException(int), or GDSException(int,Throwable), but keep in mind this class will be removed
in Jaybird 7 or later |
GDSException(int type,
int fbErrorCode,
java.lang.String strParam)
Deprecated.
will be removed in Jaybird 6, if you really must use this class, use
GDSException(String),
GDSException(int), or GDSException(int,Throwable), but keep in mind this class will be removed
in Jaybird 7 or later |
GDSException(int type,
int fbErrorCode,
java.lang.String strParam,
java.lang.Throwable cause)
Deprecated.
will be removed in Jaybird 6, if you really must use this class, use
GDSException(String),
GDSException(int), or GDSException(int,Throwable), but keep in mind this class will be removed
in Jaybird 7 or later |
GDSException(int type,
java.lang.String strParam)
Deprecated.
will be removed in Jaybird 6, if you really must use this class, use
GDSException(String),
GDSException(int), or GDSException(int,Throwable), but keep in mind this class will be removed
in Jaybird 7 or later |
GDSException(int fbErrorCode,
java.lang.Throwable cause)
Deprecated.
Create a new instance.
|
GDSException(java.lang.String message)
Deprecated.
Create a new instance with only a simple message.
|
| Modifier and Type | Method and Description |
|---|---|
static GDSException |
createWithXAErrorCode(java.lang.String message,
int xaErrorCode)
Deprecated.
will be removed in Jaybird 6 without replacement
|
int |
getFbErrorCode()
Deprecated.
will be removed in Jaybird 6 without replacement
|
int |
getIntParam()
Deprecated.
will be removed in Jaybird 6 without replacement
|
java.lang.String |
getMessage()
Deprecated.
Returns a string representation of this exception.
|
GDSException |
getNext()
Deprecated.
will be removed in Jaybird 6 without replacement
|
java.lang.String |
getParam()
Deprecated.
will be removed in Jaybird 6 without replacement
|
java.lang.String |
getSQLState()
Deprecated.
will be removed in Jaybird 6, but replaced by
SQLException.getSQLState() |
int |
getXAErrorCode()
Deprecated.
will be removed in Jaybird 6 without replacement
|
boolean |
isWarning()
Deprecated.
will be removed in Jaybird 6 without replacement
|
void |
setNext(GDSException e)
Deprecated.
will be removed in Jaybird 6 without replacement
|
void |
setXAErrorCode(int xaErrorCode)
Deprecated.
will be removed in Jaybird 6 without replacement
|
@Deprecated
public GDSException(int type,
int intParam)
GDSException(String),
GDSException(int), or GDSException(int,Throwable), but keep in mind this class will be removed
in Jaybird 7 or latertype - type of the exception, should be always
ISCConstants.isc_arg_gds, otherwise no message will be
displayed.intParam - Additional int parameter about the new exception@Deprecated
public GDSException(int type,
java.lang.String strParam)
GDSException(String),
GDSException(int), or GDSException(int,Throwable), but keep in mind this class will be removed
in Jaybird 7 or latertype - type of the exception, should be always
ISCConstants.isc_arg_gds, otherwise no message will be
displayed.strParam - value of the string parameter that will substitute
{0} entry in error message corresponding to the
specified error code.@Deprecated
public GDSException(int type,
int fbErrorCode,
java.lang.String strParam)
GDSException(String),
GDSException(int), or GDSException(int,Throwable), but keep in mind this class will be removed
in Jaybird 7 or latertype - type of the exception, should be always
ISCConstants.isc_arg_gds, otherwise no message will be displayed.fbErrorCode - Firebird error code, one of the constants declared in ISCConstantsstrParam - value of the string parameter that will substitute
{0} entry in error message corresponding to the specified
error code.@Deprecated
public GDSException(int type,
int fbErrorCode,
java.lang.String strParam,
java.lang.Throwable cause)
GDSException(String),
GDSException(int), or GDSException(int,Throwable), but keep in mind this class will be removed
in Jaybird 7 or latertype - type of the exception, should be always
ISCConstants.isc_arg_gds, otherwise no message will be displayed.fbErrorCode - Firebird error code, one of the constants declared in ISCConstantsstrParam - value of the string parameter that will substitute
{0} entry in error message corresponding to the specified
error code.cause - Cause of this exceptionpublic GDSException(int fbErrorCode)
fbErrorCode - Firebird error code, one of the constants declared in ISCConstantspublic GDSException(int fbErrorCode,
java.lang.Throwable cause)
fbErrorCode - Firebird error code, one of the constants declared in ISCConstantscause - Cause of this exceptionpublic GDSException(java.lang.String message)
message - Message for the new exception@Deprecated public static GDSException createWithXAErrorCode(java.lang.String message, int xaErrorCode)
XA
error code.message - Message for the new instancexaErrorCode - The XA error code@Deprecated public int getFbErrorCode()
@Deprecated public java.lang.String getSQLState()
SQLException.getSQLState()null if this
object does not represent an error.@Deprecated public int getIntParam()
int parameter for this exception.int parameter@Deprecated public int getXAErrorCode()
@Deprecated public void setXAErrorCode(int xaErrorCode)
xaErrorCode - The new XaErrorCode value.@Deprecated public void setNext(GDSException e)
e - The next chained exception@Deprecated public GDSException getNext()
@Deprecated public boolean isWarning()
true if this is a warning,
false otherwisepublic java.lang.String getMessage()
getMessage in class java.lang.Throwable@Deprecated public java.lang.String getParam()
Copyright © 2001-2024 Jaybird (Firebird JDBC) team. All rights reserved.