Package org.apache.derby.client.am
Class SqlWarning
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.derby.client.am.SqlException
-
- org.apache.derby.client.am.SqlWarning
-
- All Implemented Interfaces:
java.io.Serializable
,Diagnosable
public class SqlWarning extends SqlException implements Diagnosable
This represents a warning versus a full exception. As with SqlException, this is an internal representation of java.sql.SQLWarning. Public JDBC methods need to convert an internal SqlWarning to a SQLWarning usinggetSQLWarning()
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private SqlWarning
nextWarning_
-
Fields inherited from class org.apache.derby.client.am.SqlException
CLIENT_MESSAGE_RESOURCE_NAME, nextException_, wrappedException_
-
-
Constructor Summary
Constructors Constructor Description SqlWarning(LogWriter logwriter, ClientMessageId msgid, java.lang.Object... args)
SqlWarning(LogWriter logWriter, Sqlca sqlca)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.sql.SQLWarning
getSQLWarning()
Get the java.sql.SQLWarning for this SqlWarning(package private) void
setNextWarning(SqlWarning warning)
-
Methods inherited from class org.apache.derby.client.am.SqlException
copyAsUnchainedSQLException, getErrorCode, getMessage, getMessageUtil, getNextException, getSqlca, getSQLException, getSQLState, javaException, setBatchPositionLabel, setNextException, setNextException, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.derby.client.am.Diagnosable
getSqlca
-
-
-
-
Field Detail
-
nextWarning_
private SqlWarning nextWarning_
-
-
Constructor Detail
-
SqlWarning
SqlWarning(LogWriter logwriter, ClientMessageId msgid, java.lang.Object... args)
-
-
Method Detail
-
setNextWarning
void setNextWarning(SqlWarning warning)
-
getSQLWarning
public java.sql.SQLWarning getSQLWarning()
Get the java.sql.SQLWarning for this SqlWarning
-
-