org.jsxp.framework
Interface ViewControllerLifeCycleExceptionHandler

All Known Implementing Classes:
AbstractCommandController, org.jsxp.framework.webroot.generated.jsxpframework.components.AbstractCommandXhtmlControllerGenerated, AjaxXhtmlController, org.jsxp.framework.webroot.generated.jsxpframework.components.ajax.AjaxXhtmlControllerGenerated, Application, DebugMessagesXhtmlController, org.jsxp.framework.webroot.generated.jsxpframework.components.DebugMessagesXhtmlControllerGenerated, DeveloperWarningsXhtmlController, org.jsxp.framework.webroot.generated.jsxpframework.components.DeveloperWarningsXhtmlControllerGenerated, ErrorXhtmlController, org.jsxp.framework.webroot.generated.jsxpframework.components.ErrorXhtmlControllerGenerated, FlashMessagesXhtmlController, org.jsxp.framework.webroot.generated.jsxpframework.components.FlashMessagesXhtmlControllerGenerated, MessagesXhtmlController, org.jsxp.framework.webroot.generated.jsxpframework.components.MessagesXhtmlControllerGenerated, PagerXhtmlController, org.jsxp.framework.webroot.generated.jsxpframework.components.PagerXhtmlControllerGenerated, RedirectViewXhtmlController, org.jsxp.framework.webroot.generated.jsxpframework.components.RedirectViewXhtmlControllerGenerated, ScopesMessagesXhtmlController, org.jsxp.framework.webroot.generated.jsxpframework.components.ScopesMessagesXhtmlControllerGenerated, ViewController

public interface ViewControllerLifeCycleExceptionHandler


Method Summary
 void handleExecutingException(java.lang.Exception e, ViewController source)
          Handle executing exception.
 void handleInitException(java.lang.Exception e, ViewController source)
          If the an exception is thrown in initializing phase in the ViewController.init() method this method is called.
 void handleInputProcessingException(java.lang.Exception e, ViewController source)
          Handle input processing exception.
 void handlePreparingException(java.lang.Exception e, ViewController source)
          Handle preparing exception.
 void handleRenderingException(java.lang.Exception e, ViewController source)
          Handle rendering exception.
 void handleTemplatingException(java.lang.Exception e, ViewController source)
          Handle templating exception.
 void handleValidatingException(java.lang.Exception e, ViewController source)
          Handle validating exception.
 

Method Detail

handleExecutingException

void handleExecutingException(java.lang.Exception e,
                              ViewController source)
Handle executing exception. If the ViewController.execute() method / the executing phase of a view controller ends with an exception that is not catched in any other handler this method is called. Only if the exception is not catch here, the exception will be thrown further.

Parameters:
e - the e
source - the source

handleInitException

void handleInitException(java.lang.Exception e,
                         ViewController source)
If the an exception is thrown in initializing phase in the ViewController.init() method this method is called. Only if the exception is not catch here, the exception will be thrown further.

Parameters:
e - the e
source - the source

handleInputProcessingException

void handleInputProcessingException(java.lang.Exception e,
                                    ViewController source)
Handle input processing exception. If the an exception is thrown in input processing phase that is not catched in any other handler this method is called. Only if the exception is not catch here, the exception will be thrown further.

Parameters:
e - the e
source - the source

handlePreparingException

void handlePreparingException(java.lang.Exception e,
                              ViewController source)
Handle preparing exception. If the an exception is thrown in preparing phase that is not catched in any other handler this method is called. Only if the exception is not catch here, the exception will be thrown further.

Parameters:
e - the e
source - the source

handleRenderingException

void handleRenderingException(java.lang.Exception e,
                              ViewController source)
Handle rendering exception. If the an exception is thrown in rendering phase of a view controller that is not catched in any other handler this method is called. Only if the exception is not catch here, the exception will be thrown further.

Parameters:
e - the e
source - the source

handleTemplatingException

void handleTemplatingException(java.lang.Exception e,
                               ViewController source)
Handle templating exception. If the an exception is thrown in templating phase that is not catched in any other handler this method is called. Only if the exception is not catch here, the exception will be thrown further.

Parameters:
e - the e
source - the source

handleValidatingException

void handleValidatingException(java.lang.Exception e,
                               ViewController source)
Handle validating exception. If the an exception is thrown in validating phase in the ViewController.validate() method that is not catched in any other handler this method is called. Only if the exception is not catch here, the exception will be thrown further.

Parameters:
e - the e
source - the source


Copyright © 2012 Oliver Szymanski & David Tanzer