|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcz.eman.jsonrpc.shared.exception.ThrowableMixIn
public abstract class ThrowableMixIn
Mix-in class for Throwable to ignore those fields while serializing
and deserializing.
mapper.getSerializationConfig().addMixInAnnotations(Throwable.class, ThrowableMixIn.class); mapper.getDeserializationConfig().addMixInAnnotations(Throwable.class, ThrowableMixIn.class);
ObjectMapper.getSerializationConfig(),
ObjectMapper.getDeserializationConfig(),
SerializationConfig.addMixInAnnotations(Class, Class),
DeserializationConfig.addMixInAnnotations(Class, Class)| Constructor Summary | |
|---|---|
ThrowableMixIn()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ThrowableMixIn()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||