net.jini.core.transaction
Class TimeoutExpiredException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bynet.jini.core.transaction.TransactionException
              extended bynet.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.
 
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.


Copyright 2007, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.