Package com.volantis.mcs.runtime.scriptlibrarymanager.exceptions

Examples of com.volantis.mcs.runtime.scriptlibrarymanager.exceptions.CyclicDependencyScriptModuleException


        for (ScriptModule dependencyModule : module.getDependencies()) {
            // since ScriptModule (holding dependency collection) is immutable it is
            // not possible to create cyclic dependency (ie module dependency is reference to
            // its defining module) so actually this check is never violated
            if (dependencyModule == module) {
                throw new CyclicDependencyScriptModuleException(
                        "Module " + module + " is referenced by its dependency module.");
            }
            if (!isRegistered(dependencyModule)) {
                throw new UnregisteredScriptModuleDependencyException(
                        "Depency module " + dependencyModule + " hasn't been registered.");
View Full Code Here

TOP

Related Classes of com.volantis.mcs.runtime.scriptlibrarymanager.exceptions.CyclicDependencyScriptModuleException

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.