3233343536373839
public final T apply(String input) { try { Preconditions.checkNotNull(input); return convert(input); } catch (Exception e) { throw new ColumnConversionException(e, input, type.getRawType()); } }
39404142434445
} protected abstract T convert(String text); protected ColumnConversionException newException(String input) { return new ColumnConversionException(input, type.getRawType()); }
3031323334353637
@Override public T apply(CellWrapper cell) { try { return convert(cell); } catch (Exception e) { throw new ColumnConversionException(e, cell, type.getRawType()); } }