1
2
3
4 package org.andromda.cartridges.bpm4struts.metafacades;
5
6 /***
7 * <p>
8 * A Struts exception handler intercepts action exceptions and
9 * delegates them into a page that will handle it, by for example
10 * simply displaying it.
11 * </p>
12 *
13 * Metafacade interface to be used by AndroMDA cartridges.
14 */
15 public interface StrutsExceptionHandler
16 extends org.andromda.cartridges.bpm4struts.metafacades.StrutsForward, org.andromda.metafacades.uml.FrontEndExceptionHandler
17 {
18
19 /***
20 * Indicates the metafacade type (used for metafacade mappings).
21 *
22 * @return always <code>true</code>
23 */
24 public boolean isStrutsExceptionHandlerMetaType();
25
26 /***
27 * <p>
28 * The key to use with this handler's message resource bundle that
29 * will retrieve the error message template for this exception.
30 * </p>
31 */
32 public java.lang.String getExceptionKey();
33
34 /***
35 * <p>
36 * The module-relative URI to the resource that will complete the
37 * request/response if this exception occurs.
38 * </p>
39 */
40 public java.lang.String getExceptionPath();
41
42 /***
43 * <p>
44 * Fully qualified Java class name of the exception type to
45 * register with this handler.
46 * </p>
47 */
48 public java.lang.String getExceptionType();
49
50 /***
51 *
52 */
53 public java.lang.String getMessageKey();
54
55 }