spring-rest-exception-handler icon indicating copy to clipboard operation
spring-rest-exception-handler copied to clipboard

A convenient Spring MVC exception handler for RESTful APIs.

Results 17 spring-rest-exception-handler issues
Sort by recently updated
recently updated
newest added

Oh, dear jirutka. For most novices, without full sample code, they can't begin to work or have a thorough understanding of the framework work mechanism. I hope you can write...

Hi , Thanks for creating such a useful code sample . But i need to understand how to trigger validation in controller @RequestBody bean. So that it will trigger a...

ErrorMessage.java imports java.io.serialize, but does not appear to be necessary. Could that be removed? My team was reviewing it as part of a review of the Java Deserialization vulnerability. We've...

Seems like Spring Data Rest has it's own exception handling set up, but it would be nice to get this framework to play nicely with that one.

In some Spring configuration (ex: Spring Data Rest (https://github.com/jirutka/spring-rest-exception-handler/issues/5)), Exceptions are wrapped.

my services work for both rest api (like /api/v1/*\* ) controllers and dashboard(/admin/**) controllers, they share the same exceptions. what I expect is :when i requesting dashboard url , is...

If I set up a requestmapping that only produces json (`produces = MediaType.APPLICATION_JSON_VALUE`) I get: - If no Accept header -> error on default format (might be different than the...