package de.fete.application.service.exception;

import java.util.UUID;

/** Thrown when an RSVP is attempted on an expired event. */
public class EventExpiredException extends RuntimeException {

  /** Creates a new exception for the given event token. */
  public EventExpiredException(UUID eventToken) {
    super("Event has expired: " + eventToken);
  }
}
