org.jgroups.protocols.ring
Class TokenLostException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by java.io.InterruptedIOException
                  extended by org.jgroups.protocols.ring.TokenLostException
All Implemented Interfaces:
java.io.Serializable

public class TokenLostException
extends java.io.InterruptedIOException

See Also:
Serialized Form

Field Summary
protected  java.lang.Throwable cause
           
protected  Address failedNode
           
protected  int mode
           
static int UNDEFINED
           
static int WHILE_RECEIVING
           
static int WHILE_SENDING
           
 
Fields inherited from class java.io.InterruptedIOException
bytesTransferred
 
Constructor Summary
TokenLostException()
           
TokenLostException(java.lang.String message)
           
TokenLostException(java.lang.String message, java.lang.Throwable cause, Address failedNode, int mode)
           
 
Method Summary
 Address getFailedNode()
           
 int getFailureMode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNDEFINED

public static final int UNDEFINED
See Also:
Constant Field Values

WHILE_RECEIVING

public static final int WHILE_RECEIVING
See Also:
Constant Field Values

WHILE_SENDING

public static final int WHILE_SENDING
See Also:
Constant Field Values

failedNode

protected Address failedNode

cause

protected java.lang.Throwable cause

mode

protected int mode
Constructor Detail

TokenLostException

public TokenLostException()

TokenLostException

public TokenLostException(java.lang.String message)

TokenLostException

public TokenLostException(java.lang.String message,
                          java.lang.Throwable cause,
                          Address failedNode,
                          int mode)
Method Detail

getFailureMode

public int getFailureMode()

getFailedNode

public Address getFailedNode()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable


Copyright ? 1998-2005 Bela Ban. All Rights Reserved.