1 16 19 package com.sun.org.apache.xml.internal.utils; 20 21 26 public class WrappedRuntimeException extends RuntimeException  27 { 28 29 31 private Exception m_exception; 32 33 39 public WrappedRuntimeException(Exception e) 40 { 41 42 super(e.getMessage()); 43 44 m_exception = e; 45 } 46 47 54 public WrappedRuntimeException(String msg, Exception e) 55 { 56 57 super(msg); 58 59 m_exception = e; 60 } 61 62 67 public Exception getException() 68 { 69 return m_exception; 70 } 71 } 72 | Popular Tags |