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(java.lang.String bean)
Create an exception handler model
|
Modifier and Type | Method and Description |
---|---|
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) |
public ExceptionHandlerModel(java.lang.String bean)
bean
- the name of the bean to handle exceptionspublic boolean isMergeableWith(Model model)
Model
model
- the model to comparepublic void merge(Model model)
Model
model
- the model to merge withpublic Model createCopy()
Model
public java.lang.String getBean()
public void setBean(java.lang.String bean)