File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
src/main/java/BE_Elixir/Elixir/global/exception Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 11package BE_Elixir .Elixir .global .exception ;
22
33import BE_Elixir .Elixir .global .response .CommonResponse ;
4- import com .fasterxml .jackson .core .JsonProcessingException ;
5- import jakarta .mail .MessagingException ;
64import jakarta .servlet .http .HttpServletRequest ;
75import lombok .extern .slf4j .Slf4j ;
86import org .springframework .core .annotation .Order ;
119import org .springframework .web .bind .annotation .ExceptionHandler ;
1210import org .springframework .web .bind .annotation .RestControllerAdvice ;
1311
14- import java .io .IOException ;
15- import java .io .UnsupportedEncodingException ;
16- import java .security .NoSuchAlgorithmException ;
1712
1813@ Slf4j
1914@ RestControllerAdvice
Original file line number Diff line number Diff line change 22
33import BE_Elixir .Elixir .global .response .CommonResponse ;
44import lombok .extern .slf4j .Slf4j ;
5- import org .springframework .http . HttpStatus ;
5+ import org .springframework .core . annotation . Order ;
66import org .springframework .http .ResponseEntity ;
77import org .springframework .web .bind .annotation .ExceptionHandler ;
88import org .springframework .web .bind .annotation .RestControllerAdvice ;
99import org .springframework .web .multipart .MaxUploadSizeExceededException ;
1010
11- import java .io .UnsupportedEncodingException ;
1211
1312@ Slf4j
1413@ RestControllerAdvice
14+ @ Order (value = 1 )
1515public class RestApiExceptionHandler {
1616
1717 @ ExceptionHandler (CustomException .class )
You can’t perform that action at this time.
0 commit comments