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