public class ExceptionMarshaller extends Object implements JsonMarshaller<RemoteException>
| Constructor and Description |
|---|
ExceptionMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
static RemoteException |
_read(com.fasterxml.jackson.core.JsonParser jp) |
Class<RemoteException> |
getJavaType()
The marshalled java type
|
String |
getType()
The type name that appears in serialization
|
RemoteException |
read(com.fasterxml.jackson.core.JsonParser jp)
Builds and returns a POJO from the JSON object
|
static RemoteException |
readException(String content) |
void |
write(com.fasterxml.jackson.core.JsonGenerator jg,
Object value)
Writes the POJO object to the JsonGenerator
|
public ExceptionMarshaller()
public String getType()
JsonMarshallergetType in interface JsonMarshaller<RemoteException>public Class<RemoteException> getJavaType()
JsonMarshallergetJavaType in interface JsonMarshaller<RemoteException>public static RemoteException readException(String content) throws IOException
IOExceptionpublic RemoteException read(com.fasterxml.jackson.core.JsonParser jp) throws IOException
JsonMarshallerread in interface JsonMarshaller<RemoteException>IOExceptionpublic static RemoteException _read(com.fasterxml.jackson.core.JsonParser jp) throws IOException
IOExceptionpublic void write(com.fasterxml.jackson.core.JsonGenerator jg, Object value)
JsonMarshallerwrite in interface JsonMarshaller<RemoteException>Copyright © 2019 Nuxeo. All rights reserved.