public class ExceptionHandlerModel extends AbstractModel
Handles exceptions that occur during flow execution. Exception handlers may be attached at the state or flow level.
| Constructor and Description |
|---|
ExceptionHandlerModel(String bean)
Create an exception handler model
|
| Modifier and Type | Method and Description |
|---|---|
Model |
createCopy()
Create a deep copy of this model.
|
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(String bean) |
public ExceptionHandlerModel(String bean)
bean - the name of the bean to handle exceptionspublic boolean isMergeableWith(Model model)
Modelmodel - the model to comparepublic void merge(Model model)
Modelmodel - the model to merge withpublic Model createCopy()
Modelpublic String getBean()
public void setBean(String bean)