Package org.apache.rat.report

Examples of org.apache.rat.report.RatReportFailedException


            } else {
                writer.openElement(predicate).attribute(NAME, object).closeElement();
            }
            lastSubject = subject;
        } catch (IOException e) {
            throw new RatReportFailedException("XML writing failure: " + e.getMessage() + " subject: " + subject + " predicate: " + predicate, e);
        }
    }
View Full Code Here


    public void startReport() throws RatReportFailedException {
        try {
            writer.openElement("rat-report");
        } catch (IOException e) {
            throw new RatReportFailedException("Cannot open start element", e);
        }
    }
View Full Code Here

    public void endReport() throws RatReportFailedException {
        try {
            writer.closeDocument();
        } catch (IOException e) {
            throw new RatReportFailedException("Cannot close last element", e);
        }
    }
View Full Code Here

     */
    public void report(IDocument document) throws RatReportFailedException {
        try {
            analyser.analyse(document);
        } catch (RatDocumentAnalysisException e) {
            throw new RatReportFailedException("Analysis failed", e);
        }
    }   
View Full Code Here

TOP

Related Classes of org.apache.rat.report.RatReportFailedException

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.