Package net.wastl.webmail.exceptions

Examples of net.wastl.webmail.exceptions.WebMailException


    public PluginHandler(WebMailServer parent) throws WebMailException {
        this.parent=parent;
        plugin_list=parent.getProperty("webmail.plugins");
        if(plugin_list == null) {
            throw new WebMailException("Error: No Plugins defined (Property webmail.plugins).");
        }
        plugins = new Vector<Plugin>();
        registerPlugins();
    }
View Full Code Here


        Class plugin_class=null;
        try {
            plugin_class=Class.forName("net.wastl.webmail.server.Plugin");
        } catch(ClassNotFoundException ex) {
            log.fatal("Could not find interface 'Plugin'", ex);
            throw new WebMailException("Could not find inteface 'Plugin'");
            // Used to System.exit() here.
        }

        PluginDependencyTree pt=new PluginDependencyTree("");
        net.wastl.webmail.misc.Queue q=new net.wastl.webmail.misc.Queue();
View Full Code Here

    public AuthenticatorHandler(WebMailServer parent) throws WebMailException {
        this.parent=parent;

        authenticator_list=parent.getProperty("webmail.authenticators");
        if(authenticator_list == null) {
            throw new WebMailException("No Authenticators defined (parameter: webmail.authenticators)");
        }

        parent.getConfigScheme().configRegisterChoiceKey("AUTH","Authentication method to use.");
        //parent.getConfigScheme().configRegisterStringKey("AUTHHOST","localhost","Host used for remote authentication (e.g. for IMAP,POP3)");
        registerAuthenticators();
View Full Code Here

TOP

Related Classes of net.wastl.webmail.exceptions.WebMailException

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.