Package com.buschmais.jqassistant.core.report.api

Examples of com.buschmais.jqassistant.core.report.api.ReportWriterException


    public XmlReportWriter(Writer writer) throws ReportWriterException {
        XMLOutputFactory factory = XMLOutputFactory.newInstance();
        try {
            xmlStreamWriter = new IndentingXMLStreamWriter(factory.createXMLStreamWriter(writer));
        } catch (XMLStreamException e) {
            throw new ReportWriterException("Cannot create XML stream writer.", e);
        }
    }
View Full Code Here


            if (executable instanceof Concept) {
                elementName = "concept";
            } else if (executable instanceof Constraint) {
                elementName = "constraint";
            } else {
                throw new ReportWriterException("Cannot write report for unsupported executable " + executable);
            }
            final List<String> columnNames = result.getColumnNames();
            run(new XmlOperation() {
                @Override
                public void run() throws XMLStreamException {
View Full Code Here

    private void run(XmlOperation operation) throws ReportWriterException {
        try {
            operation.run();
        } catch (XMLStreamException e) {
            throw new ReportWriterException("Cannot write to XML report.", e);
        }
    }
View Full Code Here

TOP

Related Classes of com.buschmais.jqassistant.core.report.api.ReportWriterException

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.