Class UserMessageAttachmentVetoException

  • All Implemented Interfaces:
    ExceptionData, Serializable

    @Generated("build/redwood/jbs/generated-exceptions/Exceptions.java.tmpl")
    public class UserMessageAttachmentVetoException
    extends com.redwood.scheduler.api.exception.UserMessageAttachmentException
    If an On User Operation action throws an exception to veto the changes being performed by the User Message attachment operation.
    See Also:
    Serialized Form
    • Constructor Detail

      • UserMessageAttachmentVetoException

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

        public UserMessageAttachmentVetoException​(Throwable cause,
                                                  String triggerOrActionName,
                                                  String message)
        If an On User Operation action throws an exception to veto the changes being performed by the User Message attachment operation.
        Parameters:
        cause - The originating exception, null if this is the originating exception
        triggerOrActionName - The trigger or action that is vetoing the changes.
        message - The reason for the veto