@Provider public class RestExceptionMapper extends ServiceExceptionMapper
ServiceExceptions into Responses containing RestErrors.
The conversion will be done automatically for any REST Resource that throws a ServiceException.
| Constructor and Description |
|---|
RestExceptionMapper() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_annotateThisClassWithProvider()
This method exists to remind developers that they need to annotate the implementing class with
jersey's javax.ws.rs.ext.Provider annotation.
|
toResponseprotected void _annotateThisClassWithProvider()
ServiceExceptionMapper_annotateThisClassWithProvider in class ServiceExceptionMapperCopyright © 2003–2017 Atlassian. All rights reserved.