1 11 package org.eclipse.update.internal.core; 12 13 import org.eclipse.core.runtime.CoreException; 14 import org.eclipse.core.runtime.IStatus; 15 16 public class CoreExceptionWithRootCause extends CoreException { 17 18 private static final long serialVersionUID = 6832993239926767403L; 19 20 private Throwable e = null; 21 22 public CoreExceptionWithRootCause(IStatus status) { 23 super(status); 24 } 25 26 public void setRootException(Throwable e) { 27 this.e = e; 28 } 29 30 public Throwable getRootException() { 31 return e; 32 } 33 34 35 } 36 | Popular Tags |