diff options
-rw-r--r-- | src/com/vaadin/data/util/MethodProperty.java | 3 | ||||
-rw-r--r-- | src/com/vaadin/data/util/NestedMethodProperty.java | 3 | ||||
-rw-r--r-- | src/com/vaadin/ui/AbstractField.java | 2 | ||||
-rw-r--r-- | src/com/vaadin/ui/DateField.java | 4 |
4 files changed, 2 insertions, 10 deletions
diff --git a/src/com/vaadin/data/util/MethodProperty.java b/src/com/vaadin/data/util/MethodProperty.java index bffa2ae94e..4fc5531320 100644 --- a/src/com/vaadin/data/util/MethodProperty.java +++ b/src/com/vaadin/data/util/MethodProperty.java @@ -638,9 +638,6 @@ public class MethodProperty<T> extends AbstractProperty<T> { * the New value of the property. * @throws <code>Property.ReadOnlyException</code> if the object is in * read-only mode. - * @throws <code>Property.ConversionException</code> if - * <code>newValue</code> can't be converted into the Property's - * native type directly or through <code>String</code>. * @see #invokeSetMethod(Object) */ @SuppressWarnings("unchecked") diff --git a/src/com/vaadin/data/util/NestedMethodProperty.java b/src/com/vaadin/data/util/NestedMethodProperty.java index 9cd83044e9..d3c7155917 100644 --- a/src/com/vaadin/data/util/NestedMethodProperty.java +++ b/src/com/vaadin/data/util/NestedMethodProperty.java @@ -201,9 +201,6 @@ public class NestedMethodProperty<T> extends AbstractProperty<T> { * the New value of the property. * @throws <code>Property.ReadOnlyException</code> if the object is in * read-only mode. - * @throws <code>Property.ConversionException</code> if - * <code>newValue</code> can't be converted into the Property's - * native type directly or through <code>String</code>. * @see #invokeSetMethod(Object) */ public void setValue(Object newValue) throws ReadOnlyException { diff --git a/src/com/vaadin/ui/AbstractField.java b/src/com/vaadin/ui/AbstractField.java index 2281ba770e..e98a06f91c 100644 --- a/src/com/vaadin/ui/AbstractField.java +++ b/src/com/vaadin/ui/AbstractField.java @@ -542,7 +542,6 @@ public abstract class AbstractField<T> extends AbstractComponent implements * </p> * * @return the current value of the field. - * @throws Property.ConversionException */ public T getValue() { return getFieldValue(); @@ -554,7 +553,6 @@ public abstract class AbstractField<T> extends AbstractComponent implements * @param newFieldValue * the New value of the field. * @throws Property.ReadOnlyException - * @throws Property.ConversionException */ public void setValue(Object newFieldValue) throws Property.ReadOnlyException, Converter.ConversionException { diff --git a/src/com/vaadin/ui/DateField.java b/src/com/vaadin/ui/DateField.java index 085f0b4826..b3f54a0a78 100644 --- a/src/com/vaadin/ui/DateField.java +++ b/src/com/vaadin/ui/DateField.java @@ -492,7 +492,7 @@ public class DateField extends AbstractField<Date> implements * This method is called to handle a non-empty date string from the client * if the client could not parse it as a Date. * - * By default, a Property.ConversionException is thrown, and the current + * By default, a Converter.ConversionException is thrown, and the current * value is not modified. * * This can be overridden to handle conversions, to return null (equivalent @@ -500,7 +500,7 @@ public class DateField extends AbstractField<Date> implements * * @param dateString * @return parsed Date - * @throws Property.ConversionException + * @throws Converter.ConversionException * to keep the old value and indicate an error */ protected Date handleUnparsableDateString(String dateString) |