类 ExceptionController
- java.lang.Object
-
- cn.dustlight.flow.application.controllers.ExceptionController
-
@RestControllerAdvice @CrossOrigin public class ExceptionController extends Object
-
-
字段概要
字段 修饰符和类型 字段 说明 protected org.apache.commons.logging.Loglogger
-
构造器概要
构造器 构造器 说明 ExceptionController()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 reactor.core.publisher.Mono<cn.dustlight.flow.core.exceptions.ErrorDetails>onAccessDeniedException(org.springframework.security.access.AccessDeniedException e, org.springframework.web.server.ServerWebExchange exchange)reactor.core.publisher.Mono<cn.dustlight.flow.core.exceptions.ErrorDetails>onAuthenticationException(org.springframework.security.core.AuthenticationException e, org.springframework.web.server.ServerWebExchange exchange)reactor.core.publisher.Mono<cn.dustlight.flow.core.exceptions.ErrorDetails>onErrorException(cn.dustlight.flow.core.exceptions.FlowException e, org.springframework.web.server.ServerWebExchange exchange)reactor.core.publisher.Mono<cn.dustlight.flow.core.exceptions.ErrorDetails>onException(Throwable e, org.springframework.web.server.ServerWebExchange exchange)
-
-
-
方法详细资料
-
onException
@ExceptionHandler(java.lang.Throwable.class) public reactor.core.publisher.Mono<cn.dustlight.flow.core.exceptions.ErrorDetails> onException(Throwable e, org.springframework.web.server.ServerWebExchange exchange)
-
onErrorException
@ExceptionHandler(cn.dustlight.flow.core.exceptions.FlowException.class) public reactor.core.publisher.Mono<cn.dustlight.flow.core.exceptions.ErrorDetails> onErrorException(cn.dustlight.flow.core.exceptions.FlowException e, org.springframework.web.server.ServerWebExchange exchange)
-
onAuthenticationException
@ExceptionHandler(org.springframework.security.core.AuthenticationException.class) public reactor.core.publisher.Mono<cn.dustlight.flow.core.exceptions.ErrorDetails> onAuthenticationException(org.springframework.security.core.AuthenticationException e, org.springframework.web.server.ServerWebExchange exchange)
-
onAccessDeniedException
@ExceptionHandler(org.springframework.security.access.AccessDeniedException.class) public reactor.core.publisher.Mono<cn.dustlight.flow.core.exceptions.ErrorDetails> onAccessDeniedException(org.springframework.security.access.AccessDeniedException e, org.springframework.web.server.ServerWebExchange exchange)
-
-