class StringToURIConverter extends AbstractGenericConverter<String, URI> {

    @Override
    public URI convert(String source) {
        try {
            return new URI(source);
        } catch (URISyntaxException e) {
            throw new ConverterException(source, getTargetTypeToken().getClass(), e);
        }
    }

}