Class CaseDataUpdateException

All Implemented Interfaces:
Serializable

public class CaseDataUpdateException extends ProcessException
This exception is used when case data can not be updated.
Since:
7.1
Author:
O. Kerpershoek
See Also:
  • Constructor Details

    • CaseDataUpdateException

      public CaseDataUpdateException(IProcessCase processCase, String errorMessage)
      Creates a new instance.
      Parameters:
      processCase - the case whose data could not be updated
      errorMessage - the error message
    • CaseDataUpdateException

      public CaseDataUpdateException(IProcessCase processCase, AppException error)
      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

      public String 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.