1 19 package org.openide.util.io; 20 21 import java.io.IOException ; 22 23 24 28 public class FoldingIOException extends IOException { 29 static final long serialVersionUID = 1079829841541926901L; 30 31 32 private Throwable t; 33 34 38 @Deprecated 39 public FoldingIOException(Throwable t) { 40 super(t.getMessage()); 41 this.t = t; 42 } 43 44 47 FoldingIOException(Throwable t, Object nothing) { 48 this(t); 49 } 50 51 52 public void printStackTrace() { 53 t.printStackTrace(); 54 } 55 56 57 public void printStackTrace(java.io.PrintStream s) { 58 t.printStackTrace(s); 59 } 60 61 62 public void printStackTrace(java.io.PrintWriter s) { 63 t.printStackTrace(s); 64 } 65 66 69 public String toString() { 70 return t.toString(); 71 } 72 73 76 public String getLocalizedMessage() { 77 return t.getLocalizedMessage(); 78 } 79 } 80 | Popular Tags |