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.SQLException
except
-
Constructor Summary
Constructors Constructor Description ijExceptionResult(java.sql.SQLException e)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearSQLWarnings()
java.sql.SQLException
getException()
java.sql.SQLWarning
getSQLWarnings()
boolean
isException()
-
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:
isException
in interfaceijResult
- Overrides:
isException
in classijResultImpl
-
getException
public java.sql.SQLException getException()
- Specified by:
getException
in interfaceijResult
- Overrides:
getException
in classijResultImpl
-
getSQLWarnings
public java.sql.SQLWarning getSQLWarnings()
- Specified by:
getSQLWarnings
in interfaceijResult
- Specified by:
getSQLWarnings
in classijResultImpl
-
clearSQLWarnings
public void clearSQLWarnings()
- Specified by:
clearSQLWarnings
in interfaceijResult
- Specified by:
clearSQLWarnings
in classijResultImpl
-
-