Package edu.stanford.bmir.protege.web.server.init

Examples of edu.stanford.bmir.protege.web.server.init.WebProtegeConfigurationException


            else {
                if (propertyName.hasDefaultValue()) {
                    builder.put(propertyName, propertyName.getDefaultValue());
                }
                else {
                    throw new WebProtegeConfigurationException("Property " + propertyName.getPropertyName() +
                            " does not have a default value and no value has been specified in the " + WEB_PROTEGE_PROPERTIES_FILE_NAME +
                            " file, or as a Java argument, or environment variable." +
                            " To fix this error, you may: " +
                            "(1) Specify a value for this property in the " + WEB_PROTEGE_PROPERTIES_FILE_NAME + " file; or " +
                            "(2) Add the property as a Java argument when starting your servlet container (-Dwebprotege." + propertyName.getPropertyName() + "=your_value); or " +
View Full Code Here


            client = new MongoClient(address);
            testConnection();
        }
        catch (Exception e) {
            // The call failed for some reason.  We cannot proceed without a properly initialized connection
            throw new WebProtegeConfigurationException(getMongoDBNotFoundMessage(), e);
        }
    }
View Full Code Here

TOP

Related Classes of edu.stanford.bmir.protege.web.server.init.WebProtegeConfigurationException

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.