Files
heima-leadnews/heima-leadnews-common/target/classes/com/heima/common/exception/ExceptionCatch.class

11 lines
1.9 KiB
Plaintext
Raw Normal View History

2026-01-14 08:37:21 +08:00
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>4M
&
'( )*
'+ ,- ./
01 ,2
345
678logLorg/slf4j/Logger;<init>()VCodeLineNumberTableLocalVariableTablethis+Lcom/heima/common/exception/ExceptionCatch; exceptionC(Ljava/lang/Exception;)Lcom/heima/model/common/dtos/ResponseResult;eLjava/lang/Exception;MethodParametersRuntimeVisibleAnnotations:Lorg/springframework/web/bind/annotation/ExceptionHandler;value6Lorg/springframework/web/bind/annotation/ResponseBody;Z(Lcom/heima/common/exception/CustomException;)Lcom/heima/model/common/dtos/ResponseResult;,Lcom/heima/common/exception/CustomException;<clinit>
SourceFileExceptionCatch.java:Lorg/springframework/web/bind/annotation/ControllerAdvice; 9 : catch exception:{} ;<= >?@ ABC DE >FG HI)com/heima/common/exception/ExceptionCatchJ KLjava/lang/Objectjava/lang/ExceptionprintStackTrace
getMessage()Ljava/lang/String;org/slf4j/Loggererror'(Ljava/lang/String;Ljava/lang/Object;)V,com/heima/model/common/enums/AppHttpCodeEnum SERVER_ERROR.Lcom/heima/model/common/enums/AppHttpCodeEnum;*com/heima/model/common/dtos/ResponseResult errorResult\(Lcom/heima/model/common/enums/AppHttpCodeEnum;)Lcom/heima/model/common/dtos/ResponseResult;*(Ljava/lang/String;Ljava/lang/Throwable;)V*com/heima/common/exception/CustomExceptiongetAppHttpCodeEnum0()Lcom/heima/model/common/enums/AppHttpCodeEnum;org/slf4j/LoggerFactory getLogger%(Ljava/lang/Class;)Lorg/slf4j/Logger;! /*<2A><01>  U+<2B><02>+<2B><05><00><07><08>[c K<13>+<2B> +<2B>
<EFBFBD><08>
% &![c!"!  <0B> <0C><03> #$%