Class AbstractEndEventBuilder<B extends AbstractEndEventBuilder<B>>

    • Method Detail

      • error

        public B error​(String errorCode)
        Sets an error definition for the given error code. If already an error with this code exists it will be used, otherwise a new error is created.
        Parameters:
        errorCode - the code of the error
        Returns:
        the builder object
      • error

        public B error​(String errorCode,
                       String errorMessage)
        Sets an error definition for the given error code. If already an error with this code exists it will be used, otherwise a new error is created with the given errorMessage.
        Parameters:
        errorCode - the code of the error
        errorMessage - the error message that is used when a new error needs to be created
        Returns:
        the builder object