@Test( expected = ConversionException.class ) public void doConvertNull() { converter.convert( null ); }
@Nullable @Override public B doConvertNull() throws ConversionException { throw new ConversionException( "Converting string to " + getToClass().getSimpleName() + " is not supported." ); }
StringToExceptionConverter extends TypedConverter<String, B> { @Nullable @Override public B doConvertNull() throws ConversionException { throw new ConversionException( "Converting string to " + getToClass().getSimpleName() + " is not supported." ); } }
StringToExceptionConverter extends TypedConverter<String, B> { @Nullable @Override public B doConvertNull() throws ConversionException { throw new ConversionException( "Converting string to " + getToClass().getSimpleName() + " is not supported." ); } StringToExceptionConverter( @Nonnull Class<B> toClass ); }
StringToExceptionConverter extends TypedConverter<String, B> { @Nullable @Override public B doConvertNull() throws ConversionException { throw new ConversionException( "Converting string to " + getToClass().getSimpleName() + " is not supported." ); } StringToExceptionConverter( @Nonnull Class<B> toClass ); @Nullable @Override B doConvert( @Nonnull String source ); @Nullable @Override B doConvertNull(); }
StringToExceptionConverter extends TypedConverter<String, B> { @Nullable @Override public B doConvertNull() throws ConversionException { throw new ConversionException( "Converting string to " + getToClass().getSimpleName() + " is not supported." ); } StringToExceptionConverter( @Nonnull Class<B> toClass ); @Nullable @Override B doConvert( @Nonnull String source ); @Nullable @Override B doConvertNull(); static final String SEPARATOR; }