|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.sql.SQLException
java.sql.SQLWarning
org.firebirdsql.jdbc.FBSQLWarning
SQLWarning
.
@Deprecated public class FBSQLWarning
This class is a wrapper for GDSException
instance that is
warning.
Field Summary | |
---|---|
static java.lang.String |
SQL_STATE_WARNING
Deprecated. |
Constructor Summary | |
---|---|
FBSQLWarning(GDSException original)
Deprecated. Create instance of this class. |
|
FBSQLWarning(java.lang.String message)
Deprecated. Create instance of this class for the specified message. |
Method Summary | |
---|---|
int |
getErrorCode()
Deprecated. Get error code for this warning. |
java.lang.Exception |
getInternalException()
Deprecated. |
java.lang.String |
getSQLState()
Deprecated. |
void |
printStackTrace(java.io.PrintStream s)
Deprecated. |
void |
printStackTrace(java.io.PrintWriter s)
Deprecated. |
Methods inherited from class java.sql.SQLWarning |
---|
getNextWarning, setNextWarning |
Methods inherited from class java.sql.SQLException |
---|
getNextException, iterator, setNextException |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SQL_STATE_WARNING
Constructor Detail |
---|
public FBSQLWarning(GDSException original)
original
- instance of GDSException
that is
warning
java.lang.IllegalArgumentException
- if original.isWarning()
returns false
).public FBSQLWarning(java.lang.String message)
message
- message for this warning.Method Detail |
---|
public int getErrorCode()
getErrorCode
in class java.sql.SQLException
public java.lang.String getSQLState()
getSQLState
in class java.sql.SQLException
public java.lang.Exception getInternalException()
public void printStackTrace(java.io.PrintStream s)
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintWriter s)
printStackTrace
in class java.lang.Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |