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