|
|||||||||
| Home >> All >> org >> apache >> derby >> impl >> tools >> [ ij overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.derby.impl.tools.ij
Class ijExceptionResult

java.lang.Objectorg.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 | |
(package private) java.sql.SQLException |
except
|
| Constructor Summary | |
(package private) |
ijExceptionResult(java.sql.SQLException e)
|
| Method Summary | |
void |
clearSQLWarnings()
|
void |
closeStatement()
|
java.sql.Connection |
getConnection()
|
java.sql.SQLException |
getException()
|
java.sql.ResultSet |
getNextRowOfResultSet()
|
java.sql.ResultSet |
getResultSet()
|
java.sql.SQLWarning |
getSQLWarnings()
|
java.sql.Statement |
getStatement()
|
int |
getUpdateCount()
|
java.util.Vector |
getVector()
|
boolean |
hasWarnings()
|
boolean |
isConnection()
|
boolean |
isException()
|
boolean |
isMulti()
|
boolean |
isNextRowOfResultSet()
|
boolean |
isResultSet()
|
boolean |
isStatement()
|
boolean |
isUpdateCount()
|
boolean |
isVector()
|
java.lang.String |
toString()
Convert this Object to a human-readable String. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
except
java.sql.SQLException except
| Constructor Detail |
ijExceptionResult
ijExceptionResult(java.sql.SQLException e)
| 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
isConnection
public boolean isConnection()
- Specified by:
isConnectionin interfaceijResult
isStatement
public boolean isStatement()
- Specified by:
isStatementin interfaceijResult
isResultSet
public boolean isResultSet()
throws java.sql.SQLException
- Specified by:
isResultSetin interfaceijResult
isUpdateCount
public boolean isUpdateCount()
throws java.sql.SQLException
- Specified by:
isUpdateCountin interfaceijResult
isNextRowOfResultSet
public boolean isNextRowOfResultSet()
- Specified by:
isNextRowOfResultSetin interfaceijResult
isVector
public boolean isVector()
isMulti
public boolean isMulti()
hasWarnings
public boolean hasWarnings()
throws java.sql.SQLException
- Specified by:
hasWarningsin interfaceijResult
getConnection
public java.sql.Connection getConnection()
- Specified by:
getConnectionin interfaceijResult
getStatement
public java.sql.Statement getStatement()
- Specified by:
getStatementin interfaceijResult
getUpdateCount
public int getUpdateCount()
throws java.sql.SQLException
- Specified by:
getUpdateCountin interfaceijResult
getResultSet
public java.sql.ResultSet getResultSet() throws java.sql.SQLException
- Specified by:
getResultSetin interfaceijResult
getNextRowOfResultSet
public java.sql.ResultSet getNextRowOfResultSet()
- Specified by:
getNextRowOfResultSetin interfaceijResult
getVector
public java.util.Vector getVector()
closeStatement
public void closeStatement()
throws java.sql.SQLException
- Specified by:
closeStatementin interfaceijResult
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object - Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string concatenation with this object. If the result is
null, string concatenation will instead use"null".The default implementation returns
getClass().getName() + "@" + Integer.toHexString(hashCode()).
|
|||||||||
| Home >> All >> org >> apache >> derby >> impl >> tools >> [ ij overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC