Class UnknownProcessTypeException
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.UnknownProcessTypeException
- All Implemented Interfaces:
Serializable
This type of exception is used when an invalid process is encountered.
- Since:
- 7.1
- Author:
- Jon van Leuven
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnknownProcessTypeException
(String processTypeName) Constructs the exception with the invalid process name.UnknownProcessTypeException
(String processTypeName, String message) Constructs the exception with the invalid process 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 process 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
-
UnknownProcessTypeException
Constructs the exception with the invalid process name.- Parameters:
processTypeName
- The name of the process that is invalid
-
UnknownProcessTypeException
Constructs the exception with the invalid process name and a message containing more information about the cause or place of the error.- Parameters:
processTypeName
- The name of the process that is invalidmessage
- Message containing additional information about the error.
-
-
Method Details
-
getProcessTypeName
This method returns the name of the process that was invalid.- Returns:
- the name of the process that was invalid.
-