1 7 8 package java.awt.print; 9 import java.io.IOException ; 10 11 24 public class PrinterIOException extends PrinterException { 25 static final long serialVersionUID = 5850870712125932846L; 26 27 31 private IOException mException; 32 33 39 public PrinterIOException(IOException exception) { 40 initCause(null); mException = exception; 42 } 43 44 56 public IOException getIOException() { 57 return mException; 58 } 59 60 67 public Throwable getCause() { 68 return mException; 69 } 70 } 71 | Popular Tags |