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:
Serializable
,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
using
getSQLWarning()
- See Also:
-
Field Summary
FieldsFields inherited from class org.apache.derby.client.am.SqlException
CLIENT_MESSAGE_RESOURCE_NAME, nextException_, wrappedException_
-
Constructor Summary
ConstructorsConstructorDescriptionSqlWarning
(LogWriter logwriter, ClientMessageId msgid, Object... args) SqlWarning
(LogWriter logWriter, Sqlca sqlca) -
Method Summary
Modifier and TypeMethodDescriptionGet 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 Details
-
nextWarning_
-
-
Constructor Details
-
SqlWarning
SqlWarning(LogWriter logwriter, ClientMessageId msgid, Object... args) -
SqlWarning
-
-
Method Details
-
setNextWarning
-
getSQLWarning
Get the java.sql.SQLWarning for this SqlWarning
-