1 6 21 22 package de.schlichtherle.io; 23 24 import java.io.FileNotFoundException ; 25 import java.io.IOException ; 26 27 37 public class InputIOException extends IOException { 38 39 50 public InputIOException(final IOException cause) { 51 super(cause.getLocalizedMessage()); 52 if (cause instanceof FileNotFoundException ) { 53 final IllegalArgumentException iae = new IllegalArgumentException (); 54 iae.initCause(cause); 55 throw iae; 56 } 57 initCause(cause); 58 } 59 } 60 | Popular Tags |