pt.ist.fenixframework.core
Class CommitError

Package class diagram package CommitError
java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by 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

Constructor Summary
protected CommitError()
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CommitError

protected CommitError()


Copyright © 2013. All Rights Reserved.