1 48 49 package com.caucho.hessian.io; 50 51 import java.io.IOException ; 52 53 56 public class ThrowableSerializer extends JavaSerializer { 57 public ThrowableSerializer(Class cl) 58 { 59 super(cl); 60 } 61 62 public void writeObject(Object obj, AbstractHessianOutput out) 63 throws IOException  64 { 65 Throwable e = (Throwable ) obj; 66 67 e.getStackTrace(); 68 69 super.writeObject(obj, out); 70 } 71 } 72 | Popular Tags |