public class FBSQLWarning
extends java.sql.SQLWarning
GDSException instance that is
warning.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SQL_STATE_WARNING |
| Constructor and Description |
|---|
FBSQLWarning(GDSException original)
Create instance of this class.
|
FBSQLWarning(java.lang.String message)
Create instance of this class for the specified message.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorCode()
Get error code for this warning.
|
java.lang.Exception |
getInternalException() |
java.lang.String |
getMessage() |
java.lang.String |
getSQLState() |
void |
printStackTrace() |
void |
printStackTrace(java.io.PrintStream s) |
void |
printStackTrace(java.io.PrintWriter s) |
public static final java.lang.String SQL_STATE_WARNING
public FBSQLWarning(GDSException original)
original - instance of GDSException that is
warningjava.lang.IllegalArgumentException - if original.isWarning()
returns false).public FBSQLWarning(java.lang.String message)
message - message for this warning.public int getErrorCode()
getErrorCode in class java.sql.SQLExceptionpublic java.lang.String getSQLState()
getSQLState in class java.sql.SQLExceptionpublic java.lang.Exception getInternalException()
public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic void printStackTrace()
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintStream s)
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintWriter s)
printStackTrace in class java.lang.ThrowableCopyright © 2001-2012 Jaybird (Firebird JDBC/JCA) team. All rights reserved.