Global Exception Handler
Functions
Link copied to clipboard
fun handleAgentClientException(exchange: ServerWebExchange, ex: Exception): ResponseEntity<ErrorMessage>
Link copied to clipboard
Link copied to clipboard
@ExceptionHandler(value = [HttpMessageNotReadableException::class ] )
@ExceptionHandler(value = [MethodArgumentNotValidException::class ] )
Link copied to clipboard
@ExceptionHandler(value = [NoRoutingInfoFoundException::class, AgentRoutingSpecResolverException::class ] )
fun handleIllegalArgumentException(exchange: ServerWebExchange, ex: IllegalArgumentException): ResponseEntity<ErrorMessage>
Link copied to clipboard
@ExceptionHandler(value = [ServerWebInputException::class ] )