net.razorvine.pyro.serializer.PyroExceptionSerpent Maven / Gradle / Ivy
package net.razorvine.pyro.serializer;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import net.razorvine.pyro.PyroException;
import net.razorvine.serpent.IClassSerializer;
/**
* Serpent extension to be able to serialize PyroException objects with Serpent.
*
* @author Irmen de Jong ([email protected])
*/
public class PyroExceptionSerpent implements IClassSerializer {
@SuppressWarnings("unchecked")
public static Object FromSerpentDict(Map