cz.eman.jsonrpc.shared.exception
Class ThrowableMixIn

java.lang.Object
  extended by cz.eman.jsonrpc.shared.exception.ThrowableMixIn

public abstract class ThrowableMixIn
extends java.lang.Object

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);
 

Author:
Karel Hovorka
See Also:
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

ThrowableMixIn

public ThrowableMixIn()