1 8 9 package com.sleepycat.util; 10 11 16 public class RuntimeExceptionWrapper extends RuntimeException  17 implements ExceptionWrapper { 18 19 private Throwable e; 20 21 public RuntimeExceptionWrapper(Throwable e) { 22 23 super(e.getMessage()); 24 this.e = e; 25 } 26 27 30 public Throwable getDetail() { 31 32 return e; 33 } 34 35 public Throwable getCause() { 36 37 return e; 38 } 39 } 40 | Popular Tags |