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