@PublicAPI public class FlowError extends Exception
FlowChecker.validate(org.ow2.proactive.scheduler.common.job.TaskFlowJob)
Modifier and Type | Class and Description |
---|---|
static class |
FlowError.FlowErrorType
Generic category of the error type,
for a specific message use
Throwable.getMessage() |
Constructor and Description |
---|
FlowError(String reason,
FlowError.FlowErrorType errorType,
String taskName)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
FlowError.FlowErrorType |
getErrorType() |
String |
getTask() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public FlowError(String reason, FlowError.FlowErrorType errorType, String taskName)
reason
- informative message hinting how to fix the issueerrorType
- general category of the errortaskName
- unique name of the task that caused the errorpublic String getTask()
public FlowError.FlowErrorType getErrorType()