@@ -0,0 +1,391 @@
+package com.pm.server.exceptionhttp;%0A%0Aimport org.springframework.http.HttpStatus;%0Aimport org.springframework.web.bind.annotation.ResponseStatus;%0A%0A@ResponseStatus(value=HttpStatus.BAD_REQUEST)%0Apublic final class BadRequestException extends Exception %7B%0A%0A%09private static final long serialVersionUID = 2646060704659045403L;%0A%0A%09public BadRequestException(String message) %7B%0A%09%09super(message);%0A%09%7D%0A%0A%7D%0A

Add BadRequestException for HTTP 400 errors