} else if( value instanceof String ) {
final String tmp = (String) value;
if( tmp.length() == 1 ) {
result = Character.valueOf(tmp.charAt(0));
} else {
throw new SuperCSVException("Can't convert \"" + value
+ "\" to a char. It must have a length of 1 to be a valid char.", context, this);
}
} else {
throw new SuperCSVException("Can't convert \"" + value
+ "\" to char. Input is not of type Character nor type String, but of type " + value.getClass().getName(),
context, this);
}
return next.execute(result, context);