List of usage examples for org.apache.wicket.util.convert ConversionException setSourceValue
public final ConversionException setSourceValue(final Object sourceValue)
From source file:abid.password.wicket.converters.ExtendedPasswordConverter.java
License:Apache License
private void error(String value, String errorKey, Exception e) { ConversionException exception = new ConversionException( "Could not convert password into '" + ExtendedPassword.class.getName() + "'", e); exception.setSourceValue(value); exception.setResourceKey(getClass().getSimpleName() + "." + errorKey); throw exception; }