Examples of PluginLoadException


Examples of org.jamesii.core.plugins.PluginLoadException

   */
  public void parseDirectory(String directory, boolean recursive) {
    // fetch all entries of the directory

    if (directory == null || !(new File(directory)).exists()) {
      throw new PluginLoadException("Plug-in dir " + directory + " not found!");
    }

    File f = new File(directory);

    // Support for JAR files that have been added to the class path directly
View Full Code Here

Examples of org.jamesii.core.plugins.PluginLoadException

      SimSystem
          .report(
              Level.WARNING,
              "Error reading plugin XML (might be ok if the loaded XML file is not a James II Plugin - XML File) --> "
                  + fileName + "/" + debugInfo, e);
      throw new PluginLoadException(e);
    } catch (SAXException | IOException e) {
      SimSystem.report(Level.SEVERE, "Error reading plugin XML --> " + fileName
          + "/" + debugInfo, e);
      throw new PluginLoadException(e);
    }
  }
View Full Code Here

Examples of org.jamesii.core.plugins.PluginLoadException

      SimSystem
          .report(
              Level.WARNING,
              "Error reading plugin XML (might be ok if the loaded XML file is not a James II Plugin - XML File) --> "
                  + fileName, e);
      throw new PluginLoadException(e);
    } catch (SAXException | IOException e) {
      SimSystem.report(Level.SEVERE, "Error (" + e.getMessage()
          + ") reading plug-in type description file: " + fileName
          + " !Ignoring the error!", e);
    }
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.