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