Package net.jini.core.transaction
Class TransactionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
net.jini.core.transaction.TransactionException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CannotAbortException,CannotCommitException,CannotJoinException,CannotNestException,CrashCountException,TimeoutExpiredException,UnknownTransactionException
Base class for exceptions thrown during a transaction.
- Since:
- 1.0
- Author:
- Sun Microsystems, Inc.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an instance with no detail message.TransactionException(String desc) Constructs an instance with a detail message.TransactionException(String desc, Throwable cause) Constructs an instance with a detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TransactionException
Constructs an instance with a detail message.- Parameters:
desc- the detail message
-
TransactionException
Constructs an instance with a detail message.- Parameters:
desc- the detail messagecause- the cause
-
TransactionException
public TransactionException()Constructs an instance with no detail message.
-