1 48 49 package com.caucho.hessian.io; 50 51 import java.io.IOException ; 52 53 56 public class IOExceptionWrapper extends IOException { 57 private Throwable _cause; 58 59 public IOExceptionWrapper(Throwable cause) 60 { 61 super(cause.toString()); 62 63 _cause = cause; 64 } 65 66 public IOExceptionWrapper(String msg, Throwable cause) 67 { 68 super(msg); 69 70 _cause = cause; 71 } 72 73 public Throwable getCause() 74 { 75 return _cause; 76 } 77 } 78 | Popular Tags |