Package org.evolizer.core.exceptions

Examples of org.evolizer.core.exceptions.EvolizerRuntimeException


        }  
    }

    private void assertSessionIsOpen() throws EvolizerRuntimeException {
        if(!isOpen()){
            EvolizerRuntimeException ex =  new EvolizerRuntimeException("Session is not open.");
            logger.error("Session is not open.", ex);
            throw ex;
        }
    }
View Full Code Here


      documentManager.addAltEntry(DCES.BASE, "file:" + dir + DCES.LOCAL);

      // Seon defaults
      documentManager.addAltEntry(SeonRelations.BASE, "file:" + dir + SeonRelations.LOCAL);
    } catch (IOException e) {
      throw new EvolizerRuntimeException("Error while resolving ontology directory.", e); // TODO own exception?
    }
  }
View Full Code Here

    for(File jarFile : jarListing) {
      try {
        addJarFile(jarFile);
      } catch (FileNotFoundException fnfe) {
        // should never happen, but let's play safe and fail-fast.
        throw new EvolizerRuntimeException("Unexpected error while adding jar file to project.", fnfe);
      }
    }
  }
View Full Code Here

TOP

Related Classes of org.evolizer.core.exceptions.EvolizerRuntimeException

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.