Package net.jini.core.transaction
Class TimeoutExpiredException
java.lang.Object
java.lang.Throwable
java.lang.Exception
net.jini.core.transaction.TransactionException
net.jini.core.transaction.TimeoutExpiredException
- All Implemented Interfaces:
Serializable
Exception thrown when a transaction timeout has expired.
- Since:
- 1.0
- Author:
- Sun Microsystems, Inc.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanTrue if the transaction committed before the timeout. -
Constructor Summary
ConstructorsConstructorDescriptionTimeoutExpiredException(boolean committed) Constructs an instance with no detail message.TimeoutExpiredException(String desc, boolean committed) 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
-
Field Details
-
committed
public boolean committedTrue if the transaction committed before the timeout.
-
-
Constructor Details
-
TimeoutExpiredException
public TimeoutExpiredException(boolean committed) Constructs an instance with no detail message.- Parameters:
committed- whether the transaction committed before the timeout.
-
TimeoutExpiredException
Constructs an instance with a detail message.- Parameters:
desc- the detail messagecommitted- whether the transaction committed before the timeout.
-