@Provider public class ExceptionHandler extends Object implements javax.ws.rs.ext.ExceptionMapper<Throwable>
Throwable
to a HTTP 500 error and a JSON response.
Response content format: {"type" : "ExceptionType", "message" : "some exception message"}
Constructor and Description |
---|
ExceptionHandler() |
Copyright © 2020. All rights reserved.