Package org.dtk.analysis.exceptions

Examples of org.dtk.analysis.exceptions.UnknownModuleIdentifier


   */
  public String getModuleSource(String moduleIdentifier) throws ModuleSourceNotAvailable, UnknownModuleIdentifier {
    String packageName = getPackageIdentifier(moduleIdentifier);
   
    if (!hasSeenModuleIdentifier(packageName, moduleIdentifier)) {
      throw new UnknownModuleIdentifier();
    } else if (!moduleSource.containsKey(moduleIdentifier)) {
      throw new ModuleSourceNotAvailable();
    }
   
    return moduleSource.get(moduleIdentifier);
View Full Code Here


   */
  public boolean isModuleSourceAvailable(String moduleIdentifier) throws UnknownModuleIdentifier {
    String packageName = getPackageIdentifier(moduleIdentifier);
   
    if (!hasSeenModuleIdentifier(packageName, moduleIdentifier)) {
      throw new UnknownModuleIdentifier();
    }
   
    return moduleSource.containsKey(moduleIdentifier);
 
View Full Code Here

TOP

Related Classes of org.dtk.analysis.exceptions.UnknownModuleIdentifier

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.