Thanks, that sounds like a better option. I've changed it accordingly.

cheers,

Luke.

Scott Battaglia wrote:
You can also do:

catch (Exception e) {
final IllegalArgumentException iae = new IllegalArgumentException(MESSAGE);
   iae.initCause(e);
   throw iae;
}

If you want I can change them in CVS to reflect that. Its the equivalent (as far as I know) of new IllegalArgumentException (message, e) in Tiger.

-Scott

--
 Luke Taylor.                      Monkey Machine Ltd.
 PGP Key ID: 0x57E9523C            http://www.monkeymachine.ltd.uk



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer

Reply via email to