Class UnknownProcessCaseException
- 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.UnknownProcessCaseException
-
- All Implemented Interfaces:
Serializable
public class UnknownProcessCaseException extends ProcessException
This type of exception is used when an unknown process case is encountered.- Since:
- 7.1
- Author:
- Jon van Leuven
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnknownProcessCaseException(long caseId)
Constructs the exception with the invalid case name.UnknownProcessCaseException(long caseId, String message)
Constructs the exception with the invalid case id and a message containing more information about the cause or place of the error.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getCaseId()
This method returns the id of the case that was invalid.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UnknownProcessCaseException
public UnknownProcessCaseException(long caseId)
Constructs the exception with the invalid case name.- Parameters:
caseId
- The name of the case that is invalid
-
UnknownProcessCaseException
public UnknownProcessCaseException(long caseId, String message)
Constructs the exception with the invalid case id and a message containing more information about the cause or place of the error.- Parameters:
caseId
- The id of the case that is invalidmessage
- Message containing additional information about the error.
-
-