Class DSpaceApiExceptionControllerAdvice

java.lang.Object
org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
org.dspace.app.rest.exception.DSpaceApiExceptionControllerAdvice
All Implemented Interfaces:
Aware, MessageSourceAware

@ControllerAdvice public class DSpaceApiExceptionControllerAdvice extends ResponseEntityExceptionHandler
This Controller advice will handle default exceptions thrown by the DSpace REST API module.

Keep in mind some specialized handlers exist for specific message types, e.g. DSpaceAccessDeniedHandler

Author:
Tom Desair (tom dot desair at atmire dot com), Frederic Van Reet (frederic dot vanreet at atmire dot com), Andrea Bollini (andrea.bollini at 4science.it), Pasquale Cavallo (pasquale.cavallo at 4science dot it)
See Also: