org.apache.commons.transaction
Class TransactionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.commons.transaction.TransactionException
- All Implemented Interfaces:
- Serializable
public class TransactionException
- extends RuntimeException
General exception for all kinds of transactional problems.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
code
protected TransactionException.Code code
TransactionException
public TransactionException(Throwable cause,
TransactionException.Code code)
TransactionException
public TransactionException(Throwable cause)
TransactionException
public TransactionException(TransactionException.Code code)
getCode
public TransactionException.Code getCode()
- Returns the formal reason for the exception.
- Returns:
- the reason code
Copyright © 2004-2007 The Apache Software Foundation. All Rights Reserved.