Package main.utils.exception
package main.utils.exception
This package contains all the exceptions used in the project.
-
ClassDescriptionThe
ModelAlreadyExistsException
class is a custom exception that is thrown when an attempt is made to add a model to a repository that already contains a model with the same ID.TheModelNotFoundException
class is a custom exception that is thrown when a requested model cannot be found in a repository.ThePageBackException
class is a custom exception that is thrown when a user attempts to navigate back from a UI page where it is not allowed.The PasswordIncorrectException class represents an exception that is thrown when a password entered by the user is incorrect.TheStudentStatusException
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.Thrown when a supervisor has reached the maximum number of students they can supervise.