@ControllerAdvice public class IllegalArgumentExceptionMapper extends Object
| Constructor and Description |
|---|
IllegalArgumentExceptionMapper() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<Object> |
toResponse(IllegalArgumentException exception) |
public IllegalArgumentExceptionMapper()
@ExceptionHandler(value=java.lang.IllegalArgumentException.class) public org.springframework.http.ResponseEntity<Object> toResponse(IllegalArgumentException exception)
Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.