Class AutoTicketRequeueOperationFailedException

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

public class AutoTicketRequeueOperationFailedException extends OperationFailedException implements TicketProvider

An AutoTicketRequeueOperationFailedException is thrown by an AutoTicketRequeueOperation if the operation execution has failed.

Since:
12.0
See Also:
  • Field Details

    • ticket

      protected final transient Ticket ticket
    • agent

      protected final transient User agent
  • Constructor Details

    • AutoTicketRequeueOperationFailedException

      public AutoTicketRequeueOperationFailedException(String message, Ticket ticket, User agent)
      Parameters:
      message - the error message
      ticket - the ticket of the failed re-queue operation
      agent - the agent of the failed re-queue operation
      Since:
      12.0
    • AutoTicketRequeueOperationFailedException

      public AutoTicketRequeueOperationFailedException(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 re-queue operation
      agent - the agent of the failed re-queue operation
      Since:
      12.0
  • Method Details

    • getTicket

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

      public User getAgent()
      Returns:
      the agent of the failed re-queue operation
      Since:
      12.0