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
using getSQLWarning()
- See Also:
- Serialized Form
Fields inherited from class org.apache.derby.client.am.SqlException |
cachedMessage_, causeString_, CLIENT_MESSAGE_RESOURCE_NAME, DEFAULT_ERRCODE, errorcode_, exceptionFactory, message_, nextException_, sqlca_, sqlstate_, throwable_, wrappedException_ |
Constructor Summary |
SqlWarning(LogWriter logwriter,
ClientMessageId msgid)
|
SqlWarning(LogWriter logwriter,
ClientMessageId msgid,
java.lang.Object arg1)
|
SqlWarning(LogWriter logwriter,
ClientMessageId msgid,
java.lang.Object[] args)
|
SqlWarning(LogWriter logwriter,
ClientMessageId msgid,
java.lang.Object[] args,
java.lang.Throwable cause)
|
SqlWarning(LogWriter logwriter,
ClientMessageId msgid,
java.lang.Object arg1,
java.lang.Object arg2)
|
SqlWarning(LogWriter logwriter,
ClientMessageId msgid,
java.lang.Object arg1,
java.lang.Object arg2,
java.lang.Object arg3)
|
SqlWarning(LogWriter logWriter,
Sqlca sqlca)
|
Methods inherited from class org.apache.derby.client.am.SqlException |
copyAsUnchainedSQLException, getErrorCode, getMessage, getMessageUtil, getNextException, getSqlca, getSQLException, getSQLState, javaException, printTrace, setBatchPositionLabel, setExceptionFactory, setNextException, setNextException |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
nextWarning_
protected SqlWarning nextWarning_
SqlWarning
public SqlWarning(LogWriter logwriter,
ClientMessageId msgid,
java.lang.Object[] args,
java.lang.Throwable cause)
SqlWarning
public SqlWarning(LogWriter logwriter,
ClientMessageId msgid,
java.lang.Object[] args)
SqlWarning
public SqlWarning(LogWriter logwriter,
ClientMessageId msgid)
SqlWarning
public SqlWarning(LogWriter logwriter,
ClientMessageId msgid,
java.lang.Object arg1)
SqlWarning
public SqlWarning(LogWriter logwriter,
ClientMessageId msgid,
java.lang.Object arg1,
java.lang.Object arg2)
SqlWarning
public SqlWarning(LogWriter logwriter,
ClientMessageId msgid,
java.lang.Object arg1,
java.lang.Object arg2,
java.lang.Object arg3)
SqlWarning
public SqlWarning(LogWriter logWriter,
Sqlca sqlca)
setNextWarning
public void setNextWarning(SqlWarning warning)
getNextWarning
public SqlWarning getNextWarning()
getSQLWarning
public java.sql.SQLWarning getSQLWarning()
- Get the java.sql.SQLWarning for this SqlWarning
Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.