class URLTypeConverter implements TypeConverter {

    @Override
    public Object convert(String value) throws ConversionException {
        try {
            return new URL(value);
        } catch (MalformedURLException e) {
            throw new ConversionException(e.getMessage());
        }
    }

}