Package edu.monash.merc.exception

Examples of edu.monash.merc.exception.DCFileException


                    FileUtils.deleteQuietly(destFile);
                    throw new IOException("Failed to delete original file '" + srcFile + "' after copy to '" + destFile + "'");
                }
            }
        } catch (Exception e) {
            throw new DCFileException(e);
        }
    }
View Full Code Here


    public static List<String> readLines(File file) {
        List<String> lines = new ArrayList<String>();
        try {
            lines = FileUtils.readLines(file, "utf-8");
        } catch (Exception ex) {
            throw new DCFileException(ex);
        }
        return lines;
    }
View Full Code Here

TOP

Related Classes of edu.monash.merc.exception.DCFileException

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.