Spring Web Flow

org.springframework.webflow.engine.model
Class ExceptionHandlerModel

java.lang.Object
  extended by org.springframework.webflow.engine.model.AbstractModel
      extended by 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 Summary
ExceptionHandlerModel(java.lang.String bean)
          Create an exception handler model
 
Method Summary
 Model createCopy()
          Create a deep copy of this model.
 java.lang.String getBean()
           
 boolean isMergeableWith(Model model)
          Determine if the model is able to be merged into the current model
 void merge(Model model)
          Merge the model into the current model
 void setBean(java.lang.String bean)
           
 
Methods inherited from class org.springframework.webflow.engine.model.AbstractModel
copy, copyList, merge, merge, merge, merge, merge
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionHandlerModel

public ExceptionHandlerModel(java.lang.String bean)
Create an exception handler model

Parameters:
bean - the name of the bean to handle exceptions
Method Detail

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 java.lang.String getBean()

setBean

public void setBean(java.lang.String bean)

Spring Web Flow