public class ErrorHandler extends Object
| Constructor and Description |
|---|
ErrorHandler() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addErrorMessage(org.imixs.workflow.exceptions.WorkflowException pe)
This helper method adds a error message to the faces context, based on the
data in a WorkflowException.
|
static void |
handleModelException(org.imixs.workflow.exceptions.ModelException me)
The Method expects a ModelException and adds the corresponding Faces Error
Message into the FacesContext.
|
static void |
handlePluginException(org.imixs.workflow.exceptions.PluginException pe)
The Method expects a PluginException and adds the corresponding Faces Error
Message into the FacesContext.
|
public static void handlePluginException(org.imixs.workflow.exceptions.PluginException pe)
public static void handleModelException(org.imixs.workflow.exceptions.ModelException me)
public static void addErrorMessage(org.imixs.workflow.exceptions.WorkflowException pe)
If a PluginException or ValidationException contains an optional object array
the message is parsed for params to be replaced
Example:
ERROR_MESSAGE=Value should not be greater than {0} or lower as {1}.
pe - Copyright © 2006–2020 Imixs Software Solutions GmbH. All rights reserved.