1 8 9 package com.sleepycat.util; 10 11 import java.io.IOException ; 12 13 18 public class IOExceptionWrapper 19 extends IOException implements ExceptionWrapper { 20 21 private Throwable e; 22 23 public IOExceptionWrapper(Throwable e) { 24 25 super(e.getMessage()); 26 this.e = e; 27 } 28 29 32 public Throwable getDetail() { 33 34 return e; 35 } 36 37 public Throwable getCause() { 38 39 return e; 40 } 41 } 42 | Popular Tags |