@Provider public class JsonExceptionWriter extends Object implements MessageBodyWriter<ExceptionHandler>
| Constructor and Description |
|---|
JsonExceptionWriter() |
| Modifier and Type | Method and Description |
|---|---|
long |
getSize(ExceptionHandler arg0,
Class<?> arg1,
Type arg2,
Annotation[] arg3,
MediaType arg4) |
boolean |
isWriteable(Class<?> arg0,
Type arg1,
Annotation[] arg2,
MediaType arg3) |
void |
writeTo(ExceptionHandler ee,
Class<?> arg1,
Type arg2,
Annotation[] arg3,
MediaType arg4,
MultivaluedMap<String,Object> arg5,
OutputStream out) |
public long getSize(ExceptionHandler arg0, Class<?> arg1, Type arg2, Annotation[] arg3, MediaType arg4)
getSize in interface MessageBodyWriter<ExceptionHandler>public boolean isWriteable(Class<?> arg0, Type arg1, Annotation[] arg2, MediaType arg3)
isWriteable in interface MessageBodyWriter<ExceptionHandler>public void writeTo(ExceptionHandler ee, Class<?> arg1, Type arg2, Annotation[] arg3, MediaType arg4, MultivaluedMap<String,Object> arg5, OutputStream out) throws IOException, WebApplicationException
writeTo in interface MessageBodyWriter<ExceptionHandler>IOExceptionWebApplicationExceptionCopyright © 2014 Nuxeo SA. All Rights Reserved.