@Provider public class ExceptionHandler extends Object implements javax.ws.rs.ext.ExceptionMapper<Exception>
| Constructor and Description |
|---|
ExceptionHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
setContentType(String contentType) |
void |
setDefaultResponseStatus(int defaultResponseStatus) |
javax.ws.rs.core.Response |
toResponse(Exception ex) |
public void setDefaultResponseStatus(int defaultResponseStatus)
public void setContentType(String contentType)
Copyright © 2016. All rights reserved.