package Ġcn . it xia . api . ad vice Ċ Ċ import Ġcn . it xia . api . response . Response Code Ċ import Ġcn . it xia . api . util . Response Util Ċ import Ġorg . apache . tomcat . util . http . file upload . impl . FileSize Limit Exceeded Exception Ċ import Ġorg . springframework . core . annotation . Order Ċ import Ġorg . springframework . web . bind . annotation . Controller Ad vice Ċ import Ġorg . springframework . web . bind . annotation . ExceptionHandler Ċ import Ġjavax . servlet . http . HttpServletResponse Ċ Ċ @ Controller Ad vice Ċ @ Order ( 9 9 ) Ċ class ĠFile Size Limit Exceeded ExceptionHandler Ġ{ ĊĊĠĠĠ Ġ@ ExceptionHandler ( FileSize Limit Exceeded Exception :: class ) ĊĠĠĠ Ġfun ĠfileSize Limit Exceeded ExceptionHandler ( ĊĠĠĠĠĠĠĠ Ġexception : ĠFile Size Limit Exceeded Exception , ĊĠĠĠĠĠĠĠ Ġresponse : ĠHttpServletResponse ĊĠĠĠ Ġ) Ġ{ ĊĠĠĠĠĠĠĠ ĠResponse Util . writeTo Response ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġresponse , ĠResponse Code . REQUEST _ SIZE _ EX CE EDED . with Payload (" éĻĦ ä»¶ è¿ĩ å¤§ .") ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠ Ġ} Ċ Ċ } Ċ