package de.fete.application.service.exception;

import java.util.UUID;

/** Thrown when an RSVP is attempted on a cancelled event. */
public class EventCancelledException extends RuntimeException {

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