public class ExceptionJsonSerializer extends Object implements JsonSerializer<Throwable,String>
| Constructor and Description |
|---|
ExceptionJsonSerializer() |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
deserialize(String errorString) |
String |
serialize(Throwable object) |
public Throwable deserialize(String errorString) throws IOException
deserialize in interface JsonSerializer<Throwable,String>IOExceptionpublic String serialize(Throwable object) throws IOException
serialize in interface JsonSerializer<Throwable,String>IOExceptionCopyright © 2005–2018 Alfresco Software. All rights reserved.