Class StudentNotOnRosterException

All Implemented Interfaces:
Serializable

public class StudentNotOnRosterException extends EntityNotFoundException
Thrown when a lookup by email finds no (non-dropped) roster student in the course. Like its parent EntityNotFoundException, it maps to a 404.
See Also:
  • Constructor Details

    • StudentNotOnRosterException

      public StudentNotOnRosterException(String email, Long courseId)
      Constructor for the exception
      Parameters:
      email - the (normalized) email that was searched for
      courseId - the id of the course that was searched