[jboss-cvs] jboss-profiler/java/src/productionProfiler/org/jboss/profiler/production/management ...
Clebert Suconic
csuconic at jboss.com
Thu Jul 27 11:55:00 EDT 2006
User: csuconic
Date: 06/07/27 11:55:00
Modified: java/src/productionProfiler/org/jboss/profiler/production/management
WolfView.java
Log:
Exception handling
Revision Changes Path
1.2 +8 -0 jboss-profiler/java/src/productionProfiler/org/jboss/profiler/production/management/WolfView.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: WolfView.java
===================================================================
RCS file: /cvsroot/jboss/jboss-profiler/java/src/productionProfiler/org/jboss/profiler/production/management/WolfView.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- WolfView.java 26 Jun 2006 05:09:24 -0000 1.1
+++ WolfView.java 27 Jul 2006 15:55:00 -0000 1.2
@@ -5,8 +5,16 @@
public class WolfView implements WolfViewMBean {
public String getNode()
{
+ try
+ {
return ThreadController.getMainNode().toString();
}
+ catch (Throwable e)
+ {
+ e.printStackTrace();
+ return "Error " + e.toString();
+ }
+ }
public void reset()
{
More information about the jboss-cvs-commits
mailing list