当前页面:
在线文档首页 >
JBoss 3.2.7 jmx API Documentation 英文版文档
JMXExceptionDecoder (JBoss/JMX API) - JBoss 3.2.7 jmx API Documentation 英文版文档
org.jboss.mx.util
Class JMXExceptionDecoder
java.lang.Object
org.jboss.mx.util.JMXExceptionDecoder
- public class JMXExceptionDecoder
- extends Object
A simple helper to rethrow and/or decode those pesky
JMX exceptions.
- Version:
- $Revision: 1.1.2.3 $
- Author:
- Jason Dillon
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JMXExceptionDecoder
public JMXExceptionDecoder()
decode
public static Throwable decode(Throwable t)
- Attempt to decode the given Throwable. If it
is a container JMX exception, then the target
is returned. Otherwise the argument is returned.
rethrow
public static void rethrow(Exception e)
throws Exception
- Decode and rethrow the given Throwable. If it
is a container JMX exception, then the target
is thrown. Otherwise the argument is thrown.
- Throws:
Exception
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.