1 11 package org.eclipse.core.internal.utils; 12 13 public class WrappedRuntimeException extends RuntimeException { 14 15 18 private static final long serialVersionUID = 1L; 19 20 private Throwable target; 21 22 public WrappedRuntimeException(Throwable target) { 23 super(); 24 this.target = target; 25 } 26 27 public Throwable getTargetException() { 28 return this.target; 29 } 30 31 public String getMessage() { 32 return target.getMessage(); 33 } 34 } 35 | Popular Tags |