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 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) voidsetNextWarning(SqlWarning warning) Methods inherited from class SqlException
copyAsUnchainedSQLException, getErrorCode, getMessage, getMessageUtil, getNextException, getSqlca, getSQLException, getSQLState, javaException, setBatchPositionLabel, setNextException, setNextException, toStringMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTraceMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface 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
-