View Javadoc

1   /*   Copyright (C) 2004 Finalist IT Group
2    *
3    *   This file is part of JAG - the Java J2EE Application Generator
4    *
5    *   JAG is free software; you can redistribute it and/or modify
6    *   it under the terms of the GNU General Public License as published by
7    *   the Free Software Foundation; either version 2 of the License, or
8    *   (at your option) any later version.
9    *   JAG is distributed in the hope that it will be useful,
10   *   but WITHOUT ANY WARRANTY; without even the implied warranty of
11   *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12   *   GNU General Public License for more details.
13   *   You should have received a copy of the GNU General Public License
14   *   along with JAG; if not, write to the Free Software
15   *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
16   */
17  
18  package com.finalist.util.genelv.struts;
19  
20  /***
21   * Manifest constants for the exception handling.
22   *
23   * @author GW
24   * @version 1.00
25   */
26  
27  public final class ExceptionConstants {
28     // (REQUEST/SESSION) ATTRIBUTE NAMES
29     /*** Attribute name for the exception to be handled. */
30     public static final String EXCEPTION = "EXCEPTION";
31     /*** Attribute name for the exception message. */
32     public static final String JSP_EXCEPTION = "javax.servlet.jsp.jspException";
33     /*** Attribute name for the exception message. */
34     public static final String EXCEPTION_MESSAGE = "EXCEPTION_MESSAGE";
35     /*** Attribute name for the exception explanation. */
36     public static final String EXCEPTION_EXPLANATION = "EXCEPTION_EXPLANATION";
37     /*** Attribute name for the exception what to do message. */
38     public static final String EXCEPTION_WHATTODO = "EXCEPTION_WHATTODO";
39     /*** Attribute name for the exception stack trace. */
40     public static final String EXCEPTION_STACK_TRACE = "EXCEPTION_STACK_TRACE";
41     /*** Attribute name for the exception action errors (yields for BusinessLogicException). */
42     public static final String EXCEPTION_ACTION_ERRORS = "EXCEPTION_ACTION_ERRORS";
43     // STRUTS
44     /*** (STRUTS) Global forward name for the generic exception page. */
45     public static final String EXCEPTION_PAGE = "exception_page";
46  
47  }