package com.airlock.iam.servicecontainer.app.infrastructure.webapp.model;

import com.airlock.iam.servicecontainer.app.infrastructure.webapp.util.ErrorMessage;

public class TicketAlreadyUsedException extends ServiceContainerException {
   public TicketAlreadyUsedException(String message, Throwable t) {
      super(message, t);
   }

   public TicketAlreadyUsedException(String message) {
      super(message);
   }

   @Override
   protected ErrorMessage.ErrorCaption getCaption() {
      return ErrorMessage.ErrorCaption.AUTHENTICATION_FAILED_TICKET_ALREADY_USED;
   }

   @Override
   protected ErrorMessage.ErrorDescription getDescription() {
      return ErrorMessage.ErrorDescription.AUTHENTICATION_FAILED_TICKET_ALREADY_USED;
   }
}
