Package org.silverpeas.core.workflow.api
Class WorkflowException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.silverpeas.kernel.SilverpeasException
-
- org.silverpeas.core.exception.SilverpeasException
-
- org.silverpeas.core.workflow.api.WorkflowException
-
- All Implemented Interfaces:
Serializable
,FromModule
,WithNested
- Direct Known Subclasses:
UnknownUserException
,WorkflowFatalException
public class WorkflowException extends SilverpeasException
Thrown by the workflow engine components.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.silverpeas.core.exception.SilverpeasException
ERROR, FATAL, WARNING
-
-
Constructor Summary
Constructors Constructor Description WorkflowException(String caller, int level, String message)
Set the caller, the level and the error messageWorkflowException(String caller, int level, String message, Exception nestedException)
Set the caller, the level, the error message and the nested exception.WorkflowException(String caller, String message)
Set the caller and the error messageWorkflowException(String caller, String message, Exception nestedException)
Set the caller, the error message and the nested exception.WorkflowException(String caller, String message, String infos)
Set the caller, infos and the error messageWorkflowException(String caller, String message, String infos, Exception nestedException)
Set the caller, the error message, infos and the nested exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getModule()
Returns the module name.-
Methods inherited from class org.silverpeas.core.exception.SilverpeasException
getChainedExceptions, getErrorLevel, getExtraInfos, getMessageLang, getMessageLang, getNested, printStackTrace, printStackTrace, printStackTrace, traceException
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
-
-
-
Constructor Detail
-
WorkflowException
public WorkflowException(String caller, String message)
Set the caller and the error message
-
WorkflowException
public WorkflowException(String caller, String message, Exception nestedException)
Set the caller, the error message and the nested exception.
-
WorkflowException
public WorkflowException(String caller, String message, String infos)
Set the caller, infos and the error message
-
WorkflowException
public WorkflowException(String caller, String message, String infos, Exception nestedException)
Set the caller, the error message, infos and the nested exception.
-
WorkflowException
public WorkflowException(String caller, int level, String message)
Set the caller, the level and the error message
-
-
Method Detail
-
getModule
public String getModule()
Returns the module name.- Specified by:
getModule
in interfaceFromModule
- Specified by:
getModule
in classSilverpeasException
- Returns:
- The module name
-
-