2005/12/28, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
-            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

Reply via email to