Package org.g4studio.core.resource

Examples of org.g4studio.core.resource.ResourceException


      throw new NullPointerException("资源Loader名称不能为空null");
    }
    logger.debug("获取名字为:" + pName + "的资源Loader.");
    String handlerName = pName.toLowerCase();
    if (loaders.containsKey(handlerName) == false) {
      throw new ResourceException("不存在名为:" + pName + "的资源Loader");
    }
    ResourceLoader result = (ResourceLoader) loaders.get(handlerName);
    logger.debug("获取到名字为:" + pName + "的资源Loader.");
    return result;
  }
View Full Code Here

TOP

Related Classes of org.g4studio.core.resource.ResourceException

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.