2005/12/28, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
What about this?
throw ( IllegalArgumentException ) new IllegalArgumentException( ... ).initCause( ase );
Trustin
-- - throw new IllegalArgumentException(
- "Collection of addresses must contain only " +
- "InetAddress instances", ase );
+ String msg = "Collection of addresses must contain only InetAddress instances";
+ log.error( msg, ase );
+ throw new IllegalArgumentException( msg );
What about this?
throw ( IllegalArgumentException ) new IllegalArgumentException( ... ).initCause( ase );
Trustin
what we call human nature is actually human habit
--
http://gleamynode.net/
PGP Key ID: 0x854B996C
