1 19 20 package org.openide.util.io; 21 22 29 public class SafeException extends FoldingIOException { 30 private static final long serialVersionUID = 4365154082401463604L; 31 32 33 private Exception ex; 34 35 37 public SafeException(Exception ex) { 38 super(ex, null); 39 this.ex = ex; 40 } 41 42 44 public Exception getException() { 45 return ex; 46 } 47 48 public Throwable getCause() { 49 return ex; 50 } 51 52 } 53 | Popular Tags |