org.rythmengine.extension
Interface IRenderExceptionHandler


public interface IRenderExceptionHandler

Use application or framework plugin based on Rythm could implement this interface to define how they want to handle template execution exception. For example Play-rythm plugin implement this interface to capture play.mvc.result.Result type exception as a solution to allow calling controller action method directly from within a template


Method Summary
 boolean handleTemplateExecutionException(Exception e, TemplateBase template)
          Handle exception and return true if the exception is handled, false otherwise
 

Method Detail

handleTemplateExecutionException

boolean handleTemplateExecutionException(Exception e,
                                         TemplateBase template)
Handle exception and return true if the exception is handled, false otherwise

Parameters:
e -
template -
Returns:
true if exception is handled


Copyright © 2013. All Rights Reserved.