Chào mọi người ạ. Cho em hỏi có cách nào handle được phần exception access denied không ạ.Tại e đang dùng exception có sẵn của security thì nó đang bắn ra tiếng anh.Em cảm ơn ạ.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Em có thể tham khảo ví dụ này để bắt exception và trả về response em muốn em ạ: https://github.com/tvd12/java-examples/blob/master/spring-boot-redis/src/main/java/com/tvd12/example/spring_boot_redis/advice/GlobalExceptionHandler.java#L14
dạ vâng em cảm ơn ạ