GigaSpaces XAP 10.0.1 API

net.jini.core.transaction
Class TimeoutExpiredException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.jini.core.transaction.TransactionException
              extended by 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.
 
Constructor Summary
TimeoutExpiredException(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
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

committed

public boolean committed
True if the transaction committed before the timeout.

Constructor Detail

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 message
committed - whether the transaction committed before the timeout.

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.