harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ndbe...@apache.org
Subject svn commit: r414445 - /incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/PropertyVetoException.java
Date Thu, 15 Jun 2006 03:12:22 GMT
Author: ndbeyer
Date: Wed Jun 14 20:12:22 2006
New Revision: 414445

URL: http://svn.apache.org/viewvc?rev=414445&view=rev
Log:
Adjust serialization artifacts to match RI.

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/PropertyVetoException.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/PropertyVetoException.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/PropertyVetoException.java?rev=414445&r1=414444&r2=414445&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/PropertyVetoException.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/PropertyVetoException.java
Wed Jun 14 20:12:22 2006
@@ -21,26 +21,29 @@
 package java.beans;
 
 /**
- * @author Maxim V. Berkultsev
- * @version $Revision: 1.2.6.3 $
+ * Indicates that a proposed property change is unacceptable.
  */
-
 public class PropertyVetoException extends Exception {
-    
-    private PropertyChangeEvent event;
+
+    private static final long serialVersionUID = 129596057694162164L;
+
+    private final PropertyChangeEvent evt;
 
     /**
-     * @com.intel.drl.spec_ref
+     * <p>Constructs an instance with a message and the change event.</p>
+     * @param message A description of the veto.
+     * @param event The event that was vetoed.
      */
     public PropertyVetoException(String message, PropertyChangeEvent event) {
         super(message);
-        this.event = event;
+        this.evt = event;
     }
 
     /**
-     * @com.intel.drl.spec_ref
+     * <p>Gets the property change event.</p>
+     * @return An instance of {@link PropertyChangeEvent}
      */
     public PropertyChangeEvent getPropertyChangeEvent() {
-        return event;
+        return evt;
     }
 }



Mime
View raw message