Examples of PluginException


Examples of org.jnode.plugin.PluginException

    protected void stopPlugin() throws PluginException {
        try {
            ShellManager mgr = InitialNaming.lookup(ShellManager.NAME);
            mgr.unregisterInterpreterFactory(FACTORY);
        } catch (NamingException ex) {
            throw new PluginException("Cannot find the shell manager", ex);
        }
    }
View Full Code Here

Examples of org.jnode.plugin.PluginException

                new DefaultSyntaxManager(getDescriptor().getExtensionPoint("syntaxes"));
            InitialNaming.bind(AliasManager.NAME, aliasMgr);
            InitialNaming.bind(ShellManager.NAME, shellMgr);
            InitialNaming.bind(SyntaxManager.NAME, syntaxMgr);
        } catch (NamingException ex) {
            throw new PluginException("Cannot bind shell component", ex);
        }
    }
View Full Code Here

Examples of org.jnode.plugin.PluginException

            dm.stop(dev);
            dm.start(dev);

            log.info("/jnode ready.");
        } catch (NameNotFoundException e) {
            throw new PluginException(e);
        } catch (DriverException e) {
            throw new PluginException(e);
        } catch (DeviceAlreadyRegisteredException e) {
            throw new PluginException(e);
        } catch (FileSystemException e) {
            throw new PluginException(e);
        } catch (DeviceNotFoundException ex) {
            throw new PluginException(ex);
        }
    }
View Full Code Here

Examples of org.jnode.plugin.PluginException

    protected void startPlugin() throws PluginException {
        try {
            final HelpFactory help = new DefaultHelpFactory();
            InitialNaming.bind(HelpFactory.NAME, help);
        } catch (NamingException ex) {
            throw new PluginException("Cannot bind system help", ex);
        }
    }
View Full Code Here

Examples of org.jnode.plugin.PluginException

                }
            });
            InitialNaming.bind(NAME, this);
            VmSystem.setRtcService(rtc);
        } catch (ResourceNotFreeException ex) {
            throw new PluginException("Cannot claim IO ports", ex);
        } catch (NamingException ex) {
            throw new PluginException("Cannot register service", ex);
        } catch (Exception ex) {
            throw new PluginException("Unknown exception", ex);
        }
    }
View Full Code Here

Examples of org.jnode.plugin.PluginException

     */
    protected void startPlugin() throws PluginException {
        try {
            InitialNaming.bind(PcTextScreenManager.NAME, mgr);
        } catch (NamingException ex) {
            throw new PluginException(ex);
        }
    }
View Full Code Here

Examples of org.jnode.plugin.PluginException

            });
        this.repository = r;
        try {
            InitialNaming.bind(SystemRepository.NAME, r);
        } catch (NamingException ex) {
            throw new PluginException(ex);
        }
        r.start();
    }
View Full Code Here

Examples of org.jnode.plugin.PluginException

     * @throws PluginException
     */
    protected void resolve(PluginRegistryModel registry)
        throws PluginException {
        if (registry.getPluginDescriptor(reference.getId()) == null) {
            throw new PluginException(
                "Unknown plugin " + reference + " in import of " + getDeclaringPluginDescriptor().getId());
        }
    }
View Full Code Here

Examples of org.jnode.plugin.PluginException

        super(plugin);
        id = getAttribute(e, "id", true);
        name = getAttribute(e, "name", true);
        uniqueId = plugin.getId() + '.' + id;
        if (id.indexOf('.') >= 0) {
            throw new PluginException("id cannot contain a '.'");
        }
    }
View Full Code Here

Examples of org.jnode.plugin.PluginException

        this.loaderMgr = new DefaultPluginLoaderManager();
        this.registry = registry;
        try {
            InitialNaming.bind(NAME, this);
        } catch (NamingException ex) {
            throw new PluginException("Cannot register name", ex);
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.