|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.I0Itec.zkclient.ExceptionUtil
public class ExceptionUtil
| Constructor Summary | |
|---|---|
ExceptionUtil()
|
|
| Method Summary | |
|---|---|
static java.lang.RuntimeException |
convertToRuntimeException(java.lang.Throwable e)
|
static void |
retainInterruptFlag(java.lang.Throwable catchedException)
This sets the interrupt flag if the catched exception was an InterruptedException. |
static void |
rethrowInterruptedException(java.lang.Throwable e)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExceptionUtil()
| Method Detail |
|---|
public static java.lang.RuntimeException convertToRuntimeException(java.lang.Throwable e)
public static void retainInterruptFlag(java.lang.Throwable catchedException)
InterruptedException. Catching such an
exception always clears the interrupt flag.
catchedException - The catched exception.
public static void rethrowInterruptedException(java.lang.Throwable e)
throws java.lang.InterruptedException
java.lang.InterruptedException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||