Class PendingEventsNotAllowedException

    • Constructor Detail

      • PendingEventsNotAllowedException

        protected PendingEventsNotAllowedException​(String newErrorCode,
                                                   String messageFormat,
                                                   Throwable cause,
                                                   Object[] exceptionDataEN,
                                                   Object[] exceptionData)
      • PendingEventsNotAllowedException

        public PendingEventsNotAllowedException​(Throwable cause,
                                                String eventName)
        Cannot raise event; isPendingEventsAllowed is false and the event is already raised.
        Parameters:
        cause - The originating exception, null if this is the originating exception
        eventName - The name of the event that we are trying to raise, when we are not allowed.