class StringToDoubleConverter extends TypedConverter<String, Double> {

    @Nullable
    @Override
    public Double doConvert( @Nonnull String source ) throws ConversionException
    {
        try
        {
            return Double.parseDouble( source );
        }
        catch ( NumberFormatException e )
        {
            throw new ConversionException( "Could not convert string to a double value: " + source, e );
        }
    }

    public  StringToDoubleConverter();

}