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
      the ticket of the failed resubmit operation
    • agent

      protected final transient User agent
      the target user of the failed resubmit operation
  • Constructor Details

    • TicketResubmitOperationFailedException

      public TicketResubmitOperationFailedException(String message, Ticket ticket, User agent)
      Constructs a new TicketResubmitOperationFailedException with the specified detail message, ticket and 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)
      Constructs a new TicketResubmitOperationFailedException with the specified detail message, cause, ticket and 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()
      Returns the ticket of the failed resubmit operation.
      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.
      Returns:
      the agent that has been assigned by the resubmit operation
      Since:
      11.22