Package org.apache.derby.impl.tools.ij
Class ijExceptionResult
- java.lang.Object
-
- org.apache.derby.impl.tools.ij.ijResultImpl
-
- org.apache.derby.impl.tools.ij.ijExceptionResult
-
- All Implemented Interfaces:
ijResult
class ijExceptionResult extends ijResultImpl
This is an impl for just returning errors from JDBC statements. Used by Async to capture its result for WaitFor.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.sql.SQLExceptionexcept
-
Constructor Summary
Constructors Constructor Description ijExceptionResult(java.sql.SQLException e)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearSQLWarnings()java.sql.SQLExceptiongetException()java.sql.SQLWarninggetSQLWarnings()booleanisException()-
Methods inherited from class org.apache.derby.impl.tools.ij.ijResultImpl
closeStatement, getColumnDisplayList, getColumnWidthList, getConnection, getMultipleResultSets, getNextRowOfResultSet, getResultSet, getStatement, getUpdateCount, getVector, hasWarnings, isConnection, isMulti, isMultipleResultSetResult, isNextRowOfResultSet, isResultSet, isStatement, isUpdateCount, isVector, toString
-
-
-
-
Method Detail
-
isException
public boolean isException()
- Specified by:
isExceptionin interfaceijResult- Overrides:
isExceptionin classijResultImpl
-
getException
public java.sql.SQLException getException()
- Specified by:
getExceptionin interfaceijResult- Overrides:
getExceptionin classijResultImpl
-
getSQLWarnings
public java.sql.SQLWarning getSQLWarnings()
- Specified by:
getSQLWarningsin interfaceijResult- Specified by:
getSQLWarningsin classijResultImpl
-
clearSQLWarnings
public void clearSQLWarnings()
- Specified by:
clearSQLWarningsin interfaceijResult- Specified by:
clearSQLWarningsin classijResultImpl
-
-