diff options
Diffstat (limited to 'src/com/vaadin/data/util/converter/StringToBooleanConverter.java')
-rw-r--r-- | src/com/vaadin/data/util/converter/StringToBooleanConverter.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/vaadin/data/util/converter/StringToBooleanConverter.java b/src/com/vaadin/data/util/converter/StringToBooleanConverter.java index 1913266db2..3b2034a361 100644 --- a/src/com/vaadin/data/util/converter/StringToBooleanConverter.java +++ b/src/com/vaadin/data/util/converter/StringToBooleanConverter.java @@ -41,8 +41,8 @@ public class StringToBooleanConverter implements Converter<String, Boolean> { } else if (getFalseString().equals(value)) {
return false;
} else {
- throw new ConversionException("Cannot convert " + value
- + " to Boolean");
+ throw new ConversionException("Cannot convert " + value + " to "
+ + getModelType().getName());
}
}
|