Class SupervisorTicketRequeueOperationFailedException

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

public class SupervisorTicketRequeueOperationFailedException extends OperationFailedException implements TicketProvider, UserProvider

A SupervisorTicketRequeueOperationFailedException is thrown by a SupervisorTicketRequeueOperation if the operation execution has failed.

Since:
12.0
See Also:
  • Field Details

    • ticket

      protected final transient Ticket ticket
    • user

      protected final transient User user
    • agent

      protected final transient User agent
  • Constructor Details

    • SupervisorTicketRequeueOperationFailedException

      public SupervisorTicketRequeueOperationFailedException(String message, Ticket ticket, User user, User agent)
      Parameters:
      message - the error message
      ticket - the ticket of the failed re-queue operation
      user - the supervisor user that failed to execute the re-queue operation
      agent - the assigned for the ticket of the failed re-queue operation
      Since:
      12.0
    • SupervisorTicketRequeueOperationFailedException

      public SupervisorTicketRequeueOperationFailedException(String message, Throwable cause, Ticket ticket, User user, User agent)
      Parameters:
      message - the error message
      cause - the cause of the exception
      ticket - the ticket of the failed re-queue operation
      user - the supervisor user that failed to execute the re-queue operation
      agent - the assigned agent for the ticket 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
    • getUser

      public User getUser()
      Description copied from interface: UserProvider
      Returns the user
      Specified by:
      getUser in interface UserProvider
      Returns:
      the supervisor user
      Since:
      12.0
    • getAgent

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