You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by dg...@apache.org on 2003/04/19 03:20:32 UTC

cvs commit: jakarta-struts/src/share/org/apache/struts/action ExceptionHandler.java

dgraham     2003/04/18 18:20:32

  Modified:    src/share/org/apache/struts/action ExceptionHandler.java
  Log:
  Minor javadoc and format changes.
  
  Revision  Changes    Path
  1.18      +6 -5      jakarta-struts/src/share/org/apache/struts/action/ExceptionHandler.java
  
  Index: ExceptionHandler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/action/ExceptionHandler.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- ExceptionHandler.java	15 Apr 2003 00:18:45 -0000	1.17
  +++ ExceptionHandler.java	19 Apr 2003 01:20:32 -0000	1.18
  @@ -75,6 +75,7 @@
    * @since Struts 1.1
    */
   public class ExceptionHandler {
  +    
       /**
        * Handle the exception.
        * Return the <code>ActionForward</code> instance (if any) returned by
  @@ -99,7 +100,7 @@
                                    HttpServletResponse response)
           throws ServletException {
   
  -    ActionForward forward = null;
  +        ActionForward forward = null;
           ActionError error = null;
           String property = null;
   
  @@ -140,13 +141,13 @@
        * @param error - The error generated from the exception mapping
        * @param forward - The forward generated from the input path (from the form or exception mapping)
        * @param scope - The scope of the exception mapping.
  -     *
        */
       protected void storeException(HttpServletRequest request,
                           String property,
                           ActionError error,
                           ActionForward forward,
                           String scope) {
  +                            
           ActionErrors errors = new ActionErrors();
           errors.add(property, error);
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org