content: package org.ays.auth.exception;
  
  import org.ays.common.exception.AysConflictException;
  
  import java.io.Serial;
  
  /**
   * Exception indicating that an admin registration application is already rejected.
   * This exception is a subclass of {@link AysConflictException}, which is typically used to indicate that an entity or
   * resource already exists with expected behaviour.
   * Typically, this exception is thrown when a rejection operation is performed on an admin register application
   * entity to an already rejected admin register application.
   */
  public final class AysAdminRegistrationApplicationAlreadyRejectedException extends AysConflictException {
  
      /**
       * Unique identifier for serialization.
       */
      @Serial
      private static final long serialVersionUID = 8056706849244878245L;
  
      /**
       * Constructs a new {@link AysAdminRegistrationApplicationAlreadyRejectedException} with the specified applicationId and applicationStatus.
       *
       * @param id the applicationId of admin register application.
       */
      public AysAdminRegistrationApplicationAlreadyRejectedException(final String id) {
  
          super("admin registration application was already rejected! id: " + id);
      }
  
  }
  