Class 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 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 invalid
        message - Message containing additional information about the error.
    • Method Detail

      • getCaseId

        public long getCaseId()
        This method returns the id of the case that was invalid.
        Returns:
        the id of the case that was invalid.