Class ExceptionMessage
java.lang.Object
org.springframework.data.rest.webmvc.support.ExceptionMessage
A helper that renders an
Exception JSON-friendly.
Only the outermost exception message is serialized into the HTTP response. The cause chain is accessible via
getCause() for server-side use but is excluded from JSON serialization to prevent leaking internals to
clients.
- Author:
- Jon Brisbin, Oliver Drotbohm
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ExceptionMessage
-
ExceptionMessage
-
-
Method Details
-
getMessage
-
getCause
-