User: user57 Date: 02/02/11 18:51:27 Modified: src/main/org/jboss Main.java Log: o handle jmx RuntimeErrorException Revision Changes Path 1.67 +5 -1 jboss/src/main/org/jboss/Main.java Index: Main.java =================================================================== RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/Main.java,v retrieving revision 1.66 retrieving revision 1.67 diff -u -r1.66 -r1.67 --- Main.java 11 Feb 2002 23:01:36 -0000 1.66 +++ Main.java 12 Feb 2002 02:51:27 -0000 1.67 @@ -12,6 +12,7 @@ import javax.management.MBeanException; import javax.management.RuntimeMBeanException; +import javax.management.RuntimeErrorException; import org.jboss.system.MBeanClassLoader; import org.jboss.system.ServiceLibraries; @@ -28,7 +29,7 @@ * * @author <a href="mailto:[EMAIL PROTECTED]">Marc Fleury</a> * @author <a href="mailto:[EMAIL PROTECTED]">Jason Dillon</a> - * @version $Revision: 1.66 $ + * @version $Revision: 1.67 $ */ public class Main implements Runnable @@ -48,6 +49,9 @@ } catch (RuntimeMBeanException e) { e.getTargetException().printStackTrace(); + } + catch (RuntimeErrorException e) { + e.getTargetError().printStackTrace(); } catch (Exception e) { e.printStackTrace();
_______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development