Package helma.extensions

Examples of helma.extensions.ConfigurationException


    public void init(Server server) throws ConfigurationException {
        try {
            // just a demo with the server class itself (which is always there, obviously)
            Class check = Class.forName("helma.main.Server");
        } catch (ClassNotFoundException e) {
            throw new ConfigurationException("helma-library not present in classpath. make sure helma.jar is included. get it from http://www.helma.org/");
        }
    }
View Full Code Here


     * @throws ConfigurationException ...
     */
    public HashMap initScripting(Application app, ScriptingEngine engine)
                          throws ConfigurationException {
        if (!(engine instanceof RhinoEngine)) {
            throw new ConfigurationException("scripting engine " + engine.toString() +
                                             " not supported in DemoExtension");
        }

        app.logEvent("initScripting DemoExtension with " + app.getName() + " and " +
                     engine.toString());
View Full Code Here

TOP

Related Classes of helma.extensions.ConfigurationException

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.