]> source.dussan.org Git - vaadin-framework.git/commitdiff
#8125 Removed remaining references to Property.ConversionException
authorArtur Signell <artur@vaadin.com>
Wed, 21 Dec 2011 08:03:50 +0000 (10:03 +0200)
committerArtur Signell <artur@vaadin.com>
Wed, 21 Dec 2011 08:03:50 +0000 (10:03 +0200)
src/com/vaadin/data/util/MethodProperty.java
src/com/vaadin/data/util/NestedMethodProperty.java
src/com/vaadin/ui/AbstractField.java
src/com/vaadin/ui/DateField.java

index bffa2ae94eca2e873559d655a2f5079c7c204504..4fc5531320fe29f5b92d48a48d014f92a3705c06 100644 (file)
@@ -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")
index 9cd83044e96cc19e24d45156690bc996602331ac..d3c715591738918e9feeda477dac8f894154b32b 100644 (file)
@@ -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 {
index 2281ba770ed643174e7f9291f2202564c8663db2..e98a06f91cc730ed94aec964b9e89f079329e802 100644 (file)
@@ -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 {
index 085f0b48267c0689afe07ba64e3252bc742e0238..b3f54a0a78f558b15fc465efcc1d8c4a324ca22a 100644 (file)
@@ -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)