code: public Object convert(Class<?> type, String origin) throws ConversionException {
          if (origin == null) {
              return convertNullValue(type);
          }
  
          Converter converter = find(type);
          try {
              return converter.convert(origin);
          } catch (Exception e) {
              throw new ConversionException(String.format("Could not convert string <%s> to type <%s>", origin, type), e);
          }
      }
docs: Convert given string to type.
  
  @throws ConversionException If can't find converter for given type.
  @see #find(Class)