@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 © 2021. All rights reserved.