Package edu.udo.cs.wvtool.util

Examples of edu.udo.cs.wvtool.util.WVToolIOException


                InputStream is = new FileInputStream(d.getSourceName());
                currentInputStream = is;
                return is;
            }
        } catch (Exception e) {
            throw new WVToolIOException("Could not open stream.", e);
        }
    }
View Full Code Here


        try {
            if (currentInputStream != null)
                currentInputStream.close();
        } catch (IOException e) {

            throw new WVToolIOException("Could not close strean.", e);
        }

    }
View Full Code Here

    /** Close the resource from which the given document has been read. */
    public void close(WVTDocumentInfo d) throws WVToolException {
        try {
            stream.close();
        } catch (IOException e) {
            throw new WVToolIOException("Could not close stream", e);
        }
    }
View Full Code Here

        try {
            return new TagIgnoringReader(reader);
        } catch (IOException e) {
            WVToolLogger.getGlobalLogger().logException("Could not read stream", e);
            throw new WVToolIOException("TagIgnoringReader could not read the source:", e);
        }
    }
View Full Code Here

TOP

Related Classes of edu.udo.cs.wvtool.util.WVToolIOException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.