Package lipstone.joshua.parser.exceptions

Examples of lipstone.joshua.parser.exceptions.UntypedPluginException


   */
  @Override
  public void loadPlugin(ParserPlugin plugin) throws PluginConflictException, UntypedPluginException {
    if (!(plugin instanceof OperationPlugin || plugin instanceof KeywordPlugin || plugin instanceof InputFilterPlugin ||
        plugin instanceof OutputFilterPlugin || plugin instanceof CommandPlugin || plugin instanceof SettingsPlugin))
      throw new UntypedPluginException(plugin);
    ParserPlugin temp = lastPlugin;
    lastPlugin = plugin;
    plugin.loadPlugin(this);
    if (plugin instanceof InputFilterPlugin)
      preProcessFilters.add((InputFilterPlugin) plugin);
View Full Code Here

TOP

Related Classes of lipstone.joshua.parser.exceptions.UntypedPluginException

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.