pt.ist.fenixframework.core
Class CommitError
java.lang.Object
java.lang.Throwable
java.lang.Error
pt.ist.fenixframework.core.CommitError
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- WriteOnReadError
public class CommitError
- extends Error
An instance of CommitError is thrown whenever it occurs a situation that prevents a
transaction from committing.
Note that this Error may be thrown even before the commit operation is invoked.
An application should never catch instances of this class, as the purpose of throwing an instance
of this class is to make a non-local exit from the currently running transaction, and to deal
with the situation at an infrastrutural level. This is done by the Fenix Framework runtime and
should not be masked by the application code in anyway.
The class CommitError is specifically a subclass of Error rather than
Exception, even though it is a "normal occurrence", because many applications catch
all occurrences of Exception and then discard the exception.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
CommitError
protected CommitError()
Copyright © 2013. All Rights Reserved.