1 19 package org.netbeans.mdr.persistence; 20 21 import java.io.*; 22 23 31 32 public class StorageIOException extends StorageException { 33 34 36 private IOException ioExcept; 37 38 41 public StorageIOException(IOException err) { 42 super(err.getMessage()); 43 ioExcept = err; 44 } 45 46 47 public String getMessage() { 48 return ioExcept.getMessage(); 49 } 50 51 52 public String getLocalizedMessage() { 53 return ioExcept.getLocalizedMessage(); 54 } 55 56 57 public void printStackTrace() { 58 ioExcept.printStackTrace(); 59 } 60 61 62 public void printStackTrace(PrintStream ps) { 63 ioExcept.printStackTrace(ps); 64 } 65 66 67 public void printStackTrace(PrintWriter pw) { 68 ioExcept.printStackTrace(pw); 69 } 70 71 } 72 | Popular Tags |