Package org.drools.compiler

Examples of org.drools.compiler.ProcessLoadError


                for (Process process : processes) {
                    buildProcess(process, resource);
                }
            } else {
                // @TODO could we maybe add something a bit more informative about what is wrong with the XML ?
                this.errors.add( new ProcessLoadError( "unable to parse xml", null ) );
            }
        } catch ( FactoryConfigurationError e1 ) {
            this.errors.add( new ProcessLoadError( "FactoryConfigurationError ", e1.getException()) );
        } catch ( Exception e2 ) {
          e2.printStackTrace();
            this.errors.add( new ProcessLoadError( "unable to parse xml", e2 ) );
        } finally {
            Thread.currentThread().setContextClassLoader( oldLoader );
        }
        reader.close();
        return this.errors;
View Full Code Here

TOP

Related Classes of org.drools.compiler.ProcessLoadError

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.