Top Description Fields Constructors Methods
org.apache.derby.client.am

public Class SqlWarning

extends SqlException
implements Diagnosable
Class Inheritance
All Implemented Interfaces
org.apache.derby.client.am.Diagnosable
Imports
java.sql.SQLWarning

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()

Field Summary

Modifier and TypeField and Description
private SqlWarning
Inherited from org.apache.derby.client.am.SqlException:
CLIENT_MESSAGE_RESOURCE_NAMEnextException_wrappedException_

Constructor Summary

AccessConstructor and Description
pack-priv
SqlWarning(LogWriter logwriter, ClientMessageId msgid, Object... args)

public
SqlWarning(LogWriter logWriter, Sqlca sqlca)

Method Summary

Modifier and TypeMethod and Description
public SQLWarning

Returns:

the wrapped sql warning
getSQLWarning
()

Get the java.sql.SQLWarning for this SqlWarning

pack-priv void
Inherited from org.apache.derby.client.am.SqlException:
copyAsUnchainedSQLExceptiongetErrorCodegetMessagegetMessageUtilgetNextExceptiongetSqlcagetSQLExceptiongetSQLStatejavaExceptionsetBatchPositionLabelsetNextExceptionsetNextExceptiontoString

Field Detail

nextWarning_back to summary
private SqlWarning nextWarning_

Constructor Detail

SqlWarningback to summary
pack-priv SqlWarning(LogWriter logwriter, ClientMessageId msgid, Object... args)
SqlWarningback to summary
public SqlWarning(LogWriter logWriter, Sqlca sqlca)

Method Detail

getSQLWarningback to summary
public SQLWarning getSQLWarning()

Get the java.sql.SQLWarning for this SqlWarning

Returns:SQLWarning

the wrapped sql warning

setNextWarningback to summary
pack-priv void setNextWarning(SqlWarning warning)