Commits

Anonymous committed 43184f0

Allow validate to throw Exceptions.

git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@275e221344d-f017-0410-9bd5-d282ab1896d7

Comments (0)

Files changed (2)

src/java/com/opensymphony/xwork/ActionSupport.java

      * A default implementation that validates nothing.
      * Subclasses should override this method to provide validations.
      */
-    public void validate() {
+    public void validate() throws Exception {
     }
 }

src/java/com/opensymphony/xwork/Validateable.java

 public interface Validateable {
     //~ Methods ////////////////////////////////////////////////////////////////
 
-    void validate();
+    void validate() throws Exception;
 }