/** * Wrap the {@link IOException} into {@link UnexpectedIOException} and throw it out. * @param cause * the {@link IOException}. */ public static UnexpectedIOException ioException(IOException cause) { throw new UnexpectedIOException(cause); }
/** * Wrap the {@link IOException} into {@link UnexpectedIOException} and throw it out. * @param cause * the {@link IOException}. */ public static UnexpectedIOException ioException(IOException cause) { throw new UnexpectedIOException(cause); }
/** * Throws out an {@link UnexpectedIOException} with error message specified. * @param msg * the error message format pattern * @param args * the error message format arguments */ public static UnexpectedIOException ioException(String msg, Object... args) { throw new UnexpectedIOException(msg, args); }
/** * Throws out an {@link UnexpectedIOException} with error message specified. * @param msg * the error message format pattern * @param args * the error message format arguments */ public static UnexpectedIOException ioException(String msg, Object... args) { throw new UnexpectedIOException(msg, args); }