From 78e887a060b130a360d406a4dddaca2681ae7c12 Mon Sep 17 00:00:00 2001
From: Artur Signell
Date: Wed, 21 Dec 2011 10:03:50 +0200
Subject: [PATCH] #8125 Removed remaining references to
Property.ConversionException
---
src/com/vaadin/data/util/MethodProperty.java | 3 ---
src/com/vaadin/data/util/NestedMethodProperty.java | 3 ---
src/com/vaadin/ui/AbstractField.java | 2 --
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 extends AbstractProperty {
* the New value of the property.
* @throws Property.ReadOnlyException
if the object is in
* read-only mode.
- * @throws Property.ConversionException
if
- * newValue
can't be converted into the Property's
- * native type directly or through String
.
* @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 extends AbstractProperty {
* the New value of the property.
* @throws Property.ReadOnlyException
if the object is in
* read-only mode.
- * @throws Property.ConversionException
if
- * newValue
can't be converted into the Property's
- * native type directly or through String
.
* @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 extends AbstractComponent implements
*
*
* @return the current value of the field.
- * @throws Property.ConversionException
*/
public T getValue() {
return getFieldValue();
@@ -554,7 +553,6 @@ public abstract class AbstractField 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 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 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)
--
2.39.5