|
Oracle Application Server TopLink API Reference 10g Release 2 (10.1.2) B15903-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
oracle.toplink.exceptions.TopLinkException
oracle.toplink.exceptions.DatabaseException
Purpose: Wrapper for any database exception that occurred through TopLink.
Field Summary | |
static int |
CANNOT_REGISTER_SYNCHRONIZATIONLISTENER_FOR_UNITOFWORK |
static int |
CONFIGURATION_ERROR_CLASS_NOT_FOUND |
static int |
CONFIGURATION_ERROR_NEW_INSTANCE_ILLEGAL_ACCESS_EXCEPTION |
static int |
CONFIGURATION_ERROR_NEW_INSTANCE_INSTANTIATION_EXCEPTION |
static int |
COULD_NOT_CONVERT_OBJECT_TYPE |
static int |
DATABASE_ACCESSOR_NOT_CONNECTED |
static int |
ERROR_PREALLOCATING_SEQUENCE_NUMBERS |
static int |
ERROR_READING_BLOB_DATA |
static int |
LOGOUT_WHILE_TRANSACTION_IN_PROGRESS |
static int |
SEQUENCE_TABLE_INFORMATION_NOT_COMPLETE |
static int |
SQL_EXCEPTION |
static int |
SYNCHRONIZED_UNITOFWORK_DOES_NOT_SUPPORT_COMMITANDRESUME |
static int |
TRANSACTION_MANAGER_NOT_SET_FOR_JTS_DRIVER |
Method Summary | |
static DatabaseException |
cannotRegisterSynchronizatonListenerForUnitOfWork(java.lang.Exception e) |
static DatabaseException |
configurationErrorClassNotFound(java.lang.String className) |
static DatabaseException |
configurationErrorNewInstanceIllegalAccessException(java.lang.IllegalAccessException exception, java.lang.Class javaClass) |
static DatabaseException |
configurationErrorNewInstanceInstantiationException(java.lang.InstantiationException exception, java.lang.Class javaClass) |
static DatabaseException |
couldNotConvertObjectType(int type) |
static DatabaseException |
databaseAccessorNotConnected() |
static DatabaseException |
databaseAccessorNotConnected(oracle.toplink.internal.databaseaccess.DatabaseAccessor databaseAccessor) |
static DatabaseException |
errorPreallocatingSequenceNumbers() |
static DatabaseException |
errorReadingBlobData() |
oracle.toplink.internal.databaseaccess.Accessor |
getAccessor() PUBLIC: Return the accessor. |
int |
getDatabaseErrorCode() PUBLIC: This is the database error number. |
java.lang.String |
getMessage() PUBLIC: This is the database error message. |
DatabaseQuery |
getQuery() PUBLIC: This method returns the databaseQuery. |
DatabaseRow |
getQueryArguments() PUBLIC: Return the query argements used in the original query when exception is thrown |
static DatabaseException |
logoutWhileTransactionInProgress() |
static DatabaseException |
sequenceTableInformationNotComplete() |
void |
setQuery(DatabaseQuery query) PUBLIC: This method set the databaseQuery. |
void |
setQueryArguments(DatabaseRow queryArguments) PUBLIC: Set the query argements used in the original query when exception is thrown |
static DatabaseException |
sqlException(java.sql.SQLException exception) |
static DatabaseException |
sqlException(java.sql.SQLException exception, oracle.toplink.internal.databaseaccess.Accessor accessor, oracle.toplink.publicinterface.Session session) |
static DatabaseException |
synchronizedUnitOfWorkDoesNotSupportCommitAndResume() |
static DatabaseException |
transactionManagerNotSetForJTSDriver() |
Methods inherited from class oracle.toplink.exceptions.TopLinkException |
getErrorCode, getInternalException, getSession, printStackTrace, printStackTrace, printStackTrace, setShouldPrintInternalException |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int SQL_EXCEPTION
public static final int CONFIGURATION_ERROR_CLASS_NOT_FOUND
public static final int DATABASE_ACCESSOR_NOT_CONNECTED
public static final int ERROR_READING_BLOB_DATA
public static final int COULD_NOT_CONVERT_OBJECT_TYPE
public static final int LOGOUT_WHILE_TRANSACTION_IN_PROGRESS
public static final int SEQUENCE_TABLE_INFORMATION_NOT_COMPLETE
public static final int ERROR_PREALLOCATING_SEQUENCE_NUMBERS
public static final int CANNOT_REGISTER_SYNCHRONIZATIONLISTENER_FOR_UNITOFWORK
public static final int SYNCHRONIZED_UNITOFWORK_DOES_NOT_SUPPORT_COMMITANDRESUME
public static final int CONFIGURATION_ERROR_NEW_INSTANCE_INSTANTIATION_EXCEPTION
public static final int CONFIGURATION_ERROR_NEW_INSTANCE_ILLEGAL_ACCESS_EXCEPTION
public static final int TRANSACTION_MANAGER_NOT_SET_FOR_JTS_DRIVER
Method Detail |
public static DatabaseException cannotRegisterSynchronizatonListenerForUnitOfWork(java.lang.Exception e)
public static DatabaseException configurationErrorClassNotFound(java.lang.String className)
public static DatabaseException configurationErrorNewInstanceIllegalAccessException(java.lang.IllegalAccessException exception, java.lang.Class javaClass)
public static DatabaseException configurationErrorNewInstanceInstantiationException(java.lang.InstantiationException exception, java.lang.Class javaClass)
public static DatabaseException couldNotConvertObjectType(int type)
public static DatabaseException databaseAccessorNotConnected()
public static DatabaseException databaseAccessorNotConnected(oracle.toplink.internal.databaseaccess.DatabaseAccessor databaseAccessor)
public static DatabaseException errorPreallocatingSequenceNumbers()
public static DatabaseException errorReadingBlobData()
public oracle.toplink.internal.databaseaccess.Accessor getAccessor()
public int getDatabaseErrorCode()
public java.lang.String getMessage()
getMessage
in class TopLinkException
public DatabaseQuery getQuery()
public DatabaseRow getQueryArguments()
public static DatabaseException logoutWhileTransactionInProgress()
public static DatabaseException sequenceTableInformationNotComplete()
public void setQuery(DatabaseQuery query)
public void setQueryArguments(DatabaseRow queryArguments)
public static DatabaseException sqlException(java.sql.SQLException exception)
public static DatabaseException sqlException(java.sql.SQLException exception, oracle.toplink.internal.databaseaccess.Accessor accessor, oracle.toplink.publicinterface.Session session)
public static DatabaseException synchronizedUnitOfWorkDoesNotSupportCommitAndResume()
public static DatabaseException transactionManagerNotSetForJTSDriver()
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |