|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.mx.util.JMXExceptionDecoder
A simple helper to rethrow and/or decode those pesky JMX exceptions.
Constructor Summary | |
JMXExceptionDecoder()
|
Method Summary | |
static Throwable |
decode(Throwable t)
Attempt to decode the given Throwable. |
static Throwable |
decodeToJMXException(Throwable ex)
Unwrap a possibly nested jmx exception down to the last JMException || JMRuntimeException. |
static void |
rethrow(Exception e)
Decode and rethrow the given Throwable. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JMXExceptionDecoder()
Method Detail |
public static Throwable decode(Throwable t)
public static Throwable decodeToJMXException(Throwable ex)
ex
- the exception to unwrap
public static void rethrow(Exception e) throws Exception
Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |