Class NotificationNotFoundException
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.NotificationNotFoundException
- All Implemented Interfaces:
Serializable
This exception is thrown when a notification can not be found.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNotificationNotFoundException
(Long notificationId) This method constructs a new NotificationNotFoundException with the given notification ID. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NotificationNotFoundException
This method constructs a new NotificationNotFoundException with the given notification ID.- Parameters:
notificationId
- The ID of the notification that was searched for, given as a Long value
-