[Enhancement] [ANCHOR: BE JAVA] Move Notification Exception Handling to Global Exception Handler and Standardize Exception Thrown in the Notification Feature #989
Move the exception handling logic for the Notification feature to the global exception handler. Standardize the exceptions thrown within the Notification feature to ensure consistent error handling across the platform.
Acceptance Criteria
The Notification feature should no longer contain specific exception handling logic within its classes.
All exceptions in the Notification feature are routed through the global exception handler.
Standardized exception messages and statuses are used for all Notification-related errors.
Purpose
To centralize exception handling, making it easier to maintain and ensure consistent error responses across the platform.
Requiremrnts
Refactor the Notification feature to remove specific exception handling logic.
Implement standardized exceptions for all error cases within the Notification feature.
Ensure all exceptions are correctly handled by the global exception handler.
Expected Outcome
Exception handling in the Notification feature is centralized and standardized, leading to more consistent error management across the platform.
Description
Move the exception handling logic for the Notification feature to the global exception handler. Standardize the exceptions thrown within the Notification feature to ensure consistent error handling across the platform.
Acceptance Criteria
Purpose
To centralize exception handling, making it easier to maintain and ensure consistent error responses across the platform.
Requiremrnts
Expected Outcome
Exception handling in the Notification feature is centralized and standardized, leading to more consistent error management across the platform.