Anyway, I'll make the example a bit nicer and commit it later. Could you see whether your problem still exists in HEAD, and, if so, whether you have the same problems if you use URL instead of InternetAddress (just for the test)?
Eelco
Eelco Hillenius wrote:
Here's my first remark: instead of:
catch (AddressException e) { throw new IllegalArgumentException(e); }
do:
catch (AddressException e)
{
throw newConversionException("'" + value + "' is not a valid URL", value, null);
}
or anything else that throws a conversion exception. By doing this, it will be displayed as an error in your feedback panel instead of a stacktrace on your screen.
Eelco
-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
------------------------------------------------------- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user