Class TicketResubmitOperationFailedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.novomind.ecom.api.iagent.exception.OperationFailedException
com.novomind.ecom.api.imail.routing.operation.resubmit.TicketResubmitOperationFailedException
All Implemented Interfaces:
TicketProvider, Serializable

public class TicketResubmitOperationFailedException extends OperationFailedException implements TicketProvider

An TicketResubmitOperationFailedException is thrown by a TicketResubmitOperation if the operation execution has failed.

Since:
11.22
See Also:
  • Field Details

    • ticket

      protected final transient Ticket ticket
    • agent

      protected final transient User agent
  • Constructor Details

    • TicketResubmitOperationFailedException

      public TicketResubmitOperationFailedException(String message, Ticket ticket, User agent)
      Parameters:
      message - the error message
      ticket - the ticket of the failed resubmit operation
      agent - the target user of the failed resubmit operation
      Since:
      11.22
    • TicketResubmitOperationFailedException

      public TicketResubmitOperationFailedException(String message, Throwable cause, Ticket ticket, User agent)
      Parameters:
      message - the error message
      cause - the cause of the exception
      ticket - the ticket of the failed resubmit operation
      agent - the target user of the failed resubmit operation
      Since:
      11.22
  • Method Details

    • getTicket

      public Ticket getTicket()
      Description copied from interface: TicketProvider
      Returns the ticket
      Specified by:
      getTicket in interface TicketProvider
      Returns:
      the ticket
      Since:
      11.22
    • getAgent

      public User getAgent()
      Returns:
      the agent that has been assigned by the resubmit operation
      Since:
      11.22