Class StatNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
edu.ntnu.idatt2106_2023_06.backend.exception.not_found.NotFoundException
edu.ntnu.idatt2106_2023_06.backend.exception.not_found.StatNotFoundException
- All Implemented Interfaces:
Serializable
The exception thrown when a requested Stat cannot be found in the system.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionThis method constructs a new StatNotFoundException with the specified id value.StatNotFoundException
(String name) This method constructs a new StatNotFoundException with the specified name value. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
StatNotFoundException
This method constructs a new StatNotFoundException with the specified id value.- Parameters:
id
- The id value of the missing Stat.
-
StatNotFoundException
This method constructs a new StatNotFoundException with the specified name value.- Parameters:
name
- The name value of the missing Stat.
-