@Controller public class ExceptionController extends Object
| Constructor and Description |
|---|
ExceptionController() |
| Modifier and Type | Method and Description |
|---|---|
ApiError |
handleLimitReachedException() |
ApiError |
handleMismatchException(Exception ex) |
@ExceptionHandler(value={org.springframework.beans.TypeMismatchException.class,org.springframework.web.bind.MissingServletRequestParameterException.class})
@ResponseBody
public ApiError handleMismatchException(Exception ex)
@ExceptionHandler(value=eu.europeana.corelib.db.exception.LimitReachedException.class) @ResponseBody public ApiError handleLimitReachedException()
Copyright © 2017. All rights reserved.