Class ExceptionHandlerModel

java.lang.Object
org.springframework.webflow.engine.model.AbstractModel
org.springframework.webflow.engine.model.ExceptionHandlerModel
All Implemented Interfaces:
Model

public class ExceptionHandlerModel extends AbstractModel
Model support for exception handlers.

Handles exceptions that occur during flow execution. Exception handlers may be attached at the state or flow level.

Author:
Scott Andrews
  • Constructor Details

    • ExceptionHandlerModel

      public ExceptionHandlerModel(String bean)
      Create an exception handler model
      Parameters:
      bean - the name of the bean to handle exceptions
  • Method Details

    • isMergeableWith

      public boolean isMergeableWith(Model model)
      Description copied from interface: Model
      Determine if the model is able to be merged into the current model
      Parameters:
      model - the model to compare
      Returns:
      true if able to merge
    • merge

      public void merge(Model model)
      Description copied from interface: Model
      Merge the model into the current model
      Parameters:
      model - the model to merge with
    • createCopy

      public Model createCopy()
      Description copied from interface: Model
      Create a deep copy of this model. Needed when merging models and collections.
      Returns:
      a deep copy of this model
    • getBean

      public String getBean()
    • setBean

      public void setBean(String bean)