admin@glassfish.java.net

Re: com.sun.enterprise.util.ExceptionUtil.java

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

Tom Mueller wrote:
> Joe,
> Should the package be com.sun.enterprise.admin.util in the admin/util
> module?

It's pretty generic, so I put it in with other general utilities
like com.sun.enterprise.util.StringUtils.java, but I'm happy to
go either way.

Joe

>
> Tom
>
> On 8/30/2010 3:13 PM, Joe Di Pol wrote:
>>
>> 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
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>