Use the source, Luke!

/**
* Creates a conversion exception for throwing
*
* @param message
* The message
* @param value
* The value that didn't convert
* @param locale
* The locale
* @return The ConversionException
*/
protected ConversionException newConversionException(final String message, final Object value,
final Locale locale)
{
return new ConversionException(message).setSourceValue(value)
.setTargetType(getTargetType()).setTypeConverter(this).setLocale(locale);
}



Gili wrote:


wicket.util.ConversionException only takes in two arguments. What was meant by "value, null" passed into its constructor? Was this supposed to do anything?


Gili




-------------------------------------------------------
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