GemFire 5.8

com.gemstone.gemfire
Class ThreadInterruptedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.gemstone.gemfire.GemFireException
                  extended by com.gemstone.gemfire.ThreadInterruptedException
All Implemented Interfaces:
Serializable

public class ThreadInterruptedException
extends GemFireException

A ThreadInterruptedException is thrown when an operation is terminated due to a thread interrupt.

The contract in the GemFire system is that a thread will make a best effort to terminate when it is interrupted. In many cases, it will simply exit. Otherwise, this error is generated, terminating the current computation. Note that when a DistributedSystem is closed, threads that do not gracefully terminate of their own accord will be forced to exit via Thread.interrupt().

See Also:
Serialized Form

Constructor Summary
ThreadInterruptedException(String s)
          Create an instance with the given message
ThreadInterruptedException(String s, Throwable t)
          Create an instance with the given message and the given cause
ThreadInterruptedException(Throwable t)
          Create an instance from the given throwable, and the throwable's message.
 
Method Summary
 
Methods inherited from class com.gemstone.gemfire.GemFireException
getRootCause
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ThreadInterruptedException

public ThreadInterruptedException(String s)
Create an instance with the given message

Parameters:
s - the message

ThreadInterruptedException

public ThreadInterruptedException(String s,
                                  Throwable t)
Create an instance with the given message and the given cause

Parameters:
s - the message
t - the original exception (almost always an InterruptedException)

ThreadInterruptedException

public ThreadInterruptedException(Throwable t)
Create an instance from the given throwable, and the throwable's message.

Parameters:
t - the throwable (almost always an InterruptedException).
See Also:
Throwable.getMessage()

GemFire 5.8

Copyright © 2002-2008 GemStone Systems, Inc. All Rights Reserved.