@@ -0,0 +1,1006 @@
+package org.crunchytorch.coddy.application.exception.handler.impl;%0A%0Aimport org.crunchytorch.coddy.application.data.Response;%0Aimport org.crunchytorch.coddy.application.exception.handler.IExceptionHandler;%0Aimport org.springframework.core.Ordered;%0Aimport org.springframework.core.annotation.Order;%0Aimport org.springframework.http.HttpStatus;%0Aimport org.springframework.http.ResponseEntity;%0Aimport org.springframework.web.HttpMediaTypeNotSupportedException;%0Aimport org.springframework.web.bind.annotation.ExceptionHandler;%0Aimport org.springframework.web.bind.annotation.RestControllerAdvice;%0A%0A@RestControllerAdvice%0A@Order(Ordered.HIGHEST_PRECEDENCE)%0Apublic class MediaTypeNotSupportedHandler implements IExceptionHandler%3CHttpMediaTypeNotSupportedException%3E %7B%0A%0A    @Override%0A    @ExceptionHandler(HttpMediaTypeNotSupportedException.class)%0A    public ResponseEntity%3CResponse%3E handler(HttpMediaTypeNotSupportedException e) %7B%0A        return this.handler(e.getMessage(), HttpStatus.UNSUPPORTED_MEDIA_TYPE);%0A    %7D%0A%7D%0A

add mediatype unsupported handler