Package net.jini.core.transaction
Class CannotCommitException
java.lang.Object
java.lang.Throwable
java.lang.Exception
net.jini.core.transaction.TransactionException
net.jini.core.transaction.CannotCommitException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CannotCommitDistributedException
Exception thrown when a transaction cannot commit because it has already aborted or must now be
aborted.
- Since:
- 1.0
- Author:
- Sun Microsystems, Inc.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an instance with no detail message.CannotCommitException(String desc) Constructs an instance with a detail message.CannotCommitException(String desc, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CannotCommitException
Constructs an instance with a detail message.- Parameters:
desc- the detail message
-
CannotCommitException
-
CannotCommitException
public CannotCommitException()Constructs an instance with no detail message.
-