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
public class TimeoutExpiredException
- extends TransactionException
Exception thrown when a transaction timeout has expired.
- Since:
- 1.0
- Author:
- Sun Microsystems, Inc.
- See Also:
- Serialized Form
Field Summary |
boolean |
committed
True if the transaction committed before the timeout. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
committed
public boolean committed
- True if the transaction committed before the timeout.
TimeoutExpiredException
public TimeoutExpiredException(boolean committed)
- Constructs an instance with no detail message.
- Parameters:
committed
- whether the transaction committed before the timeout.
TimeoutExpiredException
public TimeoutExpiredException(String desc,
boolean committed)
- Constructs an instance with a detail message.
- Parameters:
desc
- the detail messagecommitted
- whether the transaction committed before the timeout.
Copyright © GigaSpaces.