| java.lang.Object org.jboss.mx.util.JMXExceptionDecoder
JMXExceptionDecoder | public class JMXExceptionDecoder (Code) | | A simple helper to rethrow and/or decode those pesky
JMX exceptions.
author: Jason Dillon author: Scott.Stark@jboss.org version: $Revision: 57200 $ |
decode | public static Throwable decode(Throwable t)(Code) | | Attempt to decode the given Throwable. If it
is a container JMX exception, then the target
is returned. Otherwise the argument is returned.
|
decodeToJMXException | public static Throwable decodeToJMXException(Throwable ex)(Code) | | Unwrap a possibly nested jmx exception down to the last
JMException || JMRuntimeException.
Parameters: ex - the exception to unwrap A JMException || JMRuntimeException if ex was of this type, orex if it was not. |
rethrow | public static void rethrow(Exception e) throws Exception(Code) | | Decode and rethrow the given Throwable. If it
is a container JMX exception, then the target
is thrown. Otherwise the argument is thrown.
|
|
|