Class UnknownTaskException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.aquima.interactions.foundation.exception.AppException
com.aquima.interactions.process.exception.ProcessException
com.aquima.interactions.process.exception.UnknownTaskException
- All Implemented Interfaces:
Serializable
This type of exception is used when an invalid task is encountered.
- Since:
- 7.1
- Author:
- O. Kerpershoek
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnknownTaskException
(String taskName) Constructs the exception with the invalid task name.UnknownTaskException
(String taskName, String message) Constructs the exception with the invalid task name and a message containing more information about the cause or place of the error. -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the name of the task that was invalid.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnknownTaskException
Constructs the exception with the invalid task name.- Parameters:
taskName
- The name of the task that is invalid
-
UnknownTaskException
Constructs the exception with the invalid task name and a message containing more information about the cause or place of the error.- Parameters:
taskName
- The name of the task that is invalidmessage
- Message containing additional information about the error.
-
-
Method Details
-
getTaskName
This method returns the name of the task that was invalid.- Returns:
- the name of the task that was invalid.
-