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

public class TimeoutExpiredException
extends TransactionException

Exception thrown when a transaction timeout has expired.

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(java.lang.String desc, boolean committed)
          Constructs an instance with a detail message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, 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(java.lang.String desc,
                               boolean committed)
Constructs an instance with a detail message.
Parameters:
desc - the detail message
committed - whether the transaction committed before the timeout.


Copyright © 1999 Sun Microsystems, Inc. All rights reserved