From: Thomas D. <tdi...@us...> - 2004-03-24 21:13:07
|
User: tdiesler Date: 04/03/24 13:02:29 Modified: src/main/org/jboss/mx/server ReflectedDispatcher.java Log: + remove uneccessary exception mapping Revision Changes Path 1.8 +1 -5 jmx/src/main/org/jboss/mx/server/ReflectedDispatcher.java Index: ReflectedDispatcher.java =================================================================== RCS file: /cvsroot/jboss/jmx/src/main/org/jboss/mx/server/ReflectedDispatcher.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- ReflectedDispatcher.java 12 Mar 2004 19:57:28 -0000 1.7 +++ ReflectedDispatcher.java 24 Mar 2004 21:02:29 -0000 1.8 @@ -23,7 +23,7 @@ /** * * @author <a href="mailto:ju...@jb...">Juha Lindfors</a>. - * @version $Revision: 1.7 $ + * @version $Revision: 1.8 $ * */ public class ReflectedDispatcher @@ -88,10 +88,6 @@ if (t instanceof InvocationTargetException) { Throwable target = ((InvocationTargetException)t).getTargetException(); - if (target instanceof JMException) - target = new MBeanException((JMException) target); - else if (target instanceof JMRuntimeException) - target = new RuntimeMBeanException((JMRuntimeException) target); throw new InvocationException(target, target.toString()); } |