Package org.drools.semantics.java

Examples of org.drools.semantics.java.CompilationException


            } catch (SAXParseException e) {
                Exception ex = e.getException();
                if (ex instanceof FactoryException) {
                    Throwable t = ex.getCause();
                    if (t instanceof CompilationException) {
                        CompilationException exc = (CompilationException) t;
                        createMarker(res, exc.getErrorMessage(), reader.getLocator().getLineNumber(), reader.getLocator().getColumnNumber());
                    } else if (t instanceof NoViableAltException) {
                        NoViableAltException exc = (NoViableAltException) t;
                        createMarker(res, exc.getMessage(), reader.getLocator().getLineNumber(), reader.getLocator().getColumnNumber());
                    } else if (t == null) {
                        createMarker(res, ex.getMessage(), reader.getLocator().getLineNumber(), reader.getLocator().getColumnNumber());
                    } else {
                        createMarker(res, t.getMessage(), reader.getLocator().getLineNumber(), reader.getLocator().getColumnNumber());
                    }
View Full Code Here

TOP

Related Classes of org.drools.semantics.java.CompilationException

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.