|
GemFire 5.8 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.gemstone.gemfire.GemFireException
com.gemstone.gemfire.ThreadInterruptedException
public class ThreadInterruptedException
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().
| 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 |
|---|
public ThreadInterruptedException(String s)
s - the message
public ThreadInterruptedException(String s,
Throwable t)
s - the messaget - the original exception (almost always an InterruptedException)public ThreadInterruptedException(Throwable t)
t - the throwable (almost always an InterruptedException).Throwable.getMessage()
|
GemFire 5.8 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||