admin@glassfish.java.net

com.sun.enterprise.util.ExceptionUtil.java

From: Joe Di Pol <joe.dipol_at_oracle.com>
Date: Mon, 30 Aug 2010 13:13:44 -0700

I'd like to use a method in org.glassfish.admin.amx.util.ExceptionUtil.java
in a remote command but it seems wrong to add a dependency on AMX.
It's a trivial method, getRootCause(), but it seems silly to duplicate
it in my private code.

So I'd like to create a new file:

com.sun.enterprise.util.ExceptionUtil.java

that contains a subset of:

org.glassfish.admin.amx.util.ExceptionUtil.java

Is that OK?

Joe