| java.lang.Object com.versant.core.common.BindingSupportImpl
BindingSupportImpl | public class BindingSupportImpl (Code) | | The purpose of this class is to encapsulate the Exception throwing.
This is necessary to allow different exception classes for JDO, EJB and other api's
Make sure, that all exceptions are thrown via this facility!
(Exceptions include classes, that are JDO-only, like the JDO enhancer.)
This class is intended to be stateless.
With JDO an instance of BindingSupportImpl is directly used.
Replacement pattern (incomplete, if not found in list: look here in source code):
JDOUserException invalidOperation
JDOFatalUserException runtime
JDOFatalInternalException internal
JDOUnsupportedOptionException unsupported
JDOException exception
JDOFatalException fatal
JDODataStore datastore
JDOFatalDataStore fatalDatastore
IllegalArgumentException illegalArgument
NoSuchElementException noSuchElement
IndexOutOfBoundsException indexOutOfBounds
UnsupportedOperation unsupportedOperation
VersantObjectNotFoundException objectNotFound
VersantConcurrentUpdateException concurrentUpdate
VersantDetachedFieldAccessException fieldDetached
NotImplementedException notImplemented
VersantAuthenticationException authentication
List of exceptions from the exceptions:
(this list should include exceptions, where BindingSupportImpl
is not necessary, because they are never user-visible, but
always caught internally)
TargetLostException (?)
...
List of packages, where using BindingSupportImpl is not required:
com.versant.core.jdo.tools.enhancer
com.versant.core.jdo.jca
com.versant.core.jdo.junit
com.versant.core.jdo.licensegenerator
com.versant.core.jdo.mbean
com.versant.core.jdo.tools.workbench
author: Christian Romberg |
Method Summary | |
public RuntimeException | arrayIndexOutOfBounds(String msg) | public RuntimeException | arrayIndexOutOfBounds(int val) | public RuntimeException | concurrentUpdate(String msg, Object failed) | public RuntimeException | datastore(String msg, Throwable t) | public RuntimeException | datastore(String msg) | public RuntimeException | duplicateKey(String msg, Throwable nested, Object failed) | public RuntimeException | exception(String msg) | public RuntimeException | exception(String msg, Throwable nested) | public RuntimeException | exception(String msg, Throwable[] nested) | public RuntimeException | exception(String msg, Throwable nested, Object failed) | public RuntimeException | fatal(String msg) | public RuntimeException | fatal(String msg, Throwable t) | public RuntimeException | fatalDatastore(String msg, Throwable t) | public RuntimeException | fatalDatastore(String msg) | public RuntimeException | fieldDetached() | public Throwable | findCause(Throwable e) Recursively extract the real cause of e if it is wrapping other
exceptions. | public Object | getFailedObject(Exception e) | public static BindingSupportImpl | getInstance() | public RuntimeException | illegalArgument(String msg) | public RuntimeException | indexOutOfBounds(String msg) | public RuntimeException | internal(String msg, Throwable cause) | public RuntimeException | internal(String msg, Throwable[] cause) | public RuntimeException | internal(String msg) | public RuntimeException | invalidObjectId(String msg, Throwable cause) | public RuntimeException | invalidOperation(String msg, Throwable cause) | public RuntimeException | invalidOperation(String msg) | public boolean | isError(Throwable t) | public boolean | isOutOfMemoryError(Throwable t) | public boolean | isOwnConcurrentUpdateException(Throwable t) | public boolean | isOwnDatastoreException(Throwable t) | public boolean | isOwnException(Throwable e) | public boolean | isOwnFatalDatastoreException(Throwable t) | public boolean | isOwnFatalException(Throwable e) | public boolean | isOwnFatalUserException(Throwable e) | public boolean | isOwnInternalException(Throwable t) | public boolean | isOwnInvalidObjectIdException(Throwable e) | public boolean | isOwnObjectNotFoundException(Throwable t) | public boolean | isOwnQueryException(Throwable e) | public boolean | isOwnUnsupportedException(Throwable t) | public RuntimeException | license(String msg, Throwable t) | public RuntimeException | lockNotGranted(String msg, Throwable[] nested, Object failed) | public RuntimeException | noSuchElement(String msg) | public RuntimeException | notImplemented(String m) | public RuntimeException | nullElement(String msg) | public RuntimeException | objectNotEnhanced(Object o) | public RuntimeException | objectNotFound(String msg) | public RuntimeException | optimisticVerification(String msg, Object failed) | public RuntimeException | poolFull(String msg) | public RuntimeException | query(String msg, Throwable cause) | public RuntimeException | query(String msg) | public RuntimeException | runtime(String msg) | public RuntimeException | runtime(String msg, Throwable e) | public RuntimeException | security(String msg) | public RuntimeException | transactionConflict(Object obj) | public RuntimeException | transactionConflict(String msg, Object obj) | public RuntimeException | unsupported(String m) | public RuntimeException | unsupported() | public RuntimeException | unsupportedOperation(String msg) |
findCause | public Throwable findCause(Throwable e)(Code) | | Recursively extract the real cause of e if it is wrapping other
exceptions.
|
isOwnConcurrentUpdateException | public boolean isOwnConcurrentUpdateException(Throwable t)(Code) | | |
isOwnDatastoreException | public boolean isOwnDatastoreException(Throwable t)(Code) | | |
isOwnFatalDatastoreException | public boolean isOwnFatalDatastoreException(Throwable t)(Code) | | |
isOwnFatalUserException | public boolean isOwnFatalUserException(Throwable e)(Code) | | |
isOwnInternalException | public boolean isOwnInternalException(Throwable t)(Code) | | |
isOwnInvalidObjectIdException | public boolean isOwnInvalidObjectIdException(Throwable e)(Code) | | |
isOwnObjectNotFoundException | public boolean isOwnObjectNotFoundException(Throwable t)(Code) | | |
isOwnUnsupportedException | public boolean isOwnUnsupportedException(Throwable t)(Code) | | |
|
|