|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mx.util.JMXExceptionDecoder
A simple helper to rethrow and/or decode those pesky JMX exceptions.
Constructor Summary | |
JMXExceptionDecoder()
|
Method Summary | |
static java.lang.Throwable |
decode(java.lang.Throwable t)
Attempt to decode the given Throwable. |
static java.lang.Throwable |
decodeToJMXException(java.lang.Throwable ex)
Unwrap a possibly nested jmx exception down to the last JMException || JMRuntimeException. |
static void |
rethrow(java.lang.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 java.lang.Throwable decode(java.lang.Throwable t)
public static java.lang.Throwable decodeToJMXException(java.lang.Throwable ex)
ex
- the exception to unwrap
public static void rethrow(java.lang.Exception e) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |