| 程序包 | 说明 |
|---|---|
| cn.lonelysnow.common.exception |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.http.ResponseEntity<ExceptionResult> |
BaseExceptionAdvice.handleException(SnowException e)
自定义异常处理方案
|
org.springframework.http.ResponseEntity<ExceptionResult> |
BaseExceptionAdvice.handleNoHandlerFoundException(org.springframework.web.HttpRequestMethodNotSupportedException e)
全局405异常捕获
|
org.springframework.http.ResponseEntity<ExceptionResult> |
BaseExceptionAdvice.handleNoHandlerFoundException(org.springframework.web.servlet.NoHandlerFoundException e)
全局404异常捕获
|
org.springframework.http.ResponseEntity<ExceptionResult> |
BaseExceptionAdvice.handleRuntimeException(RuntimeException e)
运行时异常处理方案
|
org.springframework.http.ResponseEntity<ExceptionResult> |
BaseExceptionAdvice.InternalAuthenticationServiceException(org.springframework.security.authentication.InternalAuthenticationServiceException e)
InternalAuthenticationServiceException异常
|
Copyright © 2023. All rights reserved.