Class StudentStatusException

All Implemented Interfaces:
Serializable

public class StudentStatusException extends IllegalStateException
The StudentStatusException class is a custom exception that is thrown when a student's status prevents them from performing an action related to selecting a project for their FYP. It extends the IllegalStateException class.
See Also:
  • Field Details

  • Constructor Details

    • StudentStatusException

      public StudentStatusException(StudentStatus status)
      Creates a new instance of the StudentStatusException class with a custom error message based on the student's status.
      Parameters:
      status - The StudentStatus of the student that caused the exception.