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

Reply via email to