org.apache.ojb.odmg
Class TransactionAbortedExceptionOJB
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.odmg.ODMGRuntimeException
org.odmg.TransactionAbortedException
org.apache.ojb.odmg.TransactionAbortedExceptionOJB
- All Implemented Interfaces:
- Serializable
public class TransactionAbortedExceptionOJB
- extends TransactionAbortedException
This specialised exception allows us to capture the cause of an
ODMG TransactionAbortedException. This, in turn,
gives the "catcher" of the exception the ability to take different
courses of action dependent upon why the transaction was aborted.
This exception has been created as a subclass of
org.odmg.TransactionAbortedException so that we don't
- Modify the ODMG exception - as it is defined by the ODMG spec
- Break the spec by throwing a non ODMG exception
- Author:
- Charles Anthony
- See Also:
- Serialized Form
Field Summary |
private Throwable |
cause
The cause of a TransactionAbortedException |
cause
private Throwable cause
- The cause of a TransactionAbortedException
TransactionAbortedExceptionOJB
public TransactionAbortedExceptionOJB()
TransactionAbortedExceptionOJB
public TransactionAbortedExceptionOJB(String msg)
TransactionAbortedExceptionOJB
public TransactionAbortedExceptionOJB(String msg,
Throwable th)
TransactionAbortedExceptionOJB
public TransactionAbortedExceptionOJB(Throwable cause)
getCause
public Throwable getCause()
- Returns the cause of the exception. May be null.
- Overrides:
getCause
in class Throwable
Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.