Class ModelNotFoundException

java.lang.Object
java.lang.Throwable
java.lang.Exception
main.utils.exception.ModelNotFoundException
All Implemented Interfaces:
Serializable

public class ModelNotFoundException extends Exception
The ModelNotFoundException class is a custom exception that is thrown when a requested model cannot be found in a repository. It extends the Exception class.
See Also:
  • Constructor Details

    • ModelNotFoundException

      public ModelNotFoundException()
      Creates a new instance of the ModelNotFoundException class with a default error message. The default message is "Model not found".
    • ModelNotFoundException

      public ModelNotFoundException(String message)
      Creates a new instance of the ModelNotFoundException class with a custom error message.
      Parameters:
      message - The custom error message to be used.