Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: com/clra/web/ValidateMemberOptionalInfo.java


1   /*
2    * Copyright (c) Carnegie Lake Rowing Association 2002. All rights reserved.
3    * Distributed under the GPL license. See doc/COPYING.
4    * $RCSfile: ValidateMemberOptionalInfo.java,v $
5    * $Date: 2003/02/26 03:38:46 $
6    * $Revision: 1.3 $
7    */
8   
9   package com.clra.web;
10  
11  import org.apache.struts.action.ActionError;
12  import org.apache.struts.action.ActionErrors;
13  
14  /**
15   * Checks whether optional info is plausible, if it is present.
16   *
17   * @version $Id: ValidateMemberOptionalInfo.java,v 1.3 2003/02/26 03:38:46 rphall Exp $
18   * @author <a href="mailto:rphall@pluto.njcc.com">Rick Hall</a>
19   */
20  class ValidateMemberOptionalInfo extends ValidateMember {
21  
22    ValidateMemberOptionalInfo( MemberInfoForm f ) {
23      super( f );
24    }
25  
26    /**
27     * Checks whether optional info is plausible, if it is present.
28     */
29    void validate( ActionErrors errors ) {
30      if ( errors == null ) {
31        throw new IllegalArgumentException( "null action errors" );
32      }
33      // System.out.println( this.getClass().getName() + ": not implemented" );
34    }
35  
36  } // ValidateMemberOptionalInfo
37  
38  /*
39   * $Log: ValidateMemberOptionalInfo.java,v $
40   * Revision 1.3  2003/02/26 03:38:46  rphall
41   * Added copyright and GPL license
42   *
43   * Revision 1.2  2003/02/20 04:06:08  rphall
44   * Stubbed versions
45   *
46   * Revision 1.1  2003/02/11 21:13:15  rphall
47   * Separate class for specific validation task; stubbed implementation
48   *
49   */
50