Class CaseDataUpdateException
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.CaseDataUpdateException
- All Implemented Interfaces:
Serializable
This exception is used when case data can not be updated.
- Since:
- 7.1
- Author:
- O. Kerpershoek
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCaseDataUpdateException
(IProcessCase processCase, AppException error) Constructs the exception with the required arguments.CaseDataUpdateException
(IProcessCase processCase, String errorMessage) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionlong
This method returns the ID of the case for which the data update failed.This method returns the name of the case for which the data update failed.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CaseDataUpdateException
Creates a new instance.- Parameters:
processCase
- the case whose data could not be updatederrorMessage
- the error message
-
CaseDataUpdateException
Constructs the exception with the required arguments.- Parameters:
processCase
- The case whose data was to be updated.error
- The actual cause of the error.
-
-
Method Details
-
getCaseId
public long getCaseId()This method returns the ID of the case for which the data update failed.- Returns:
- the ID of the case for which the data update failed.
-
getCaseName
This method returns the name of the case for which the data update failed.- Returns:
- the name of the case for which the data update failed.
-