1 28 29 package com.caucho.ejb.protocol; 30 31 import java.io.ObjectStreamException ; 32 33 36 public class ObjectExceptionWrapper extends ObjectStreamException { 37 42 public ObjectExceptionWrapper(String msg) 43 { 44 super(msg); 45 } 46 47 52 public ObjectExceptionWrapper(Throwable rootCause) 53 { 54 super(rootCause.getMessage()); 55 56 initCause(rootCause); 57 } 58 } 59 60 | Popular Tags |