Examples of ModuleNotFoundException


Examples of com.alibaba.citrus.service.moduleloader.ModuleNotFoundException

            // 这样就实现了page-driven,即先写模板,必要时再写一个module class与之对应。
            if (module != null) {
                module.execute();
            } else {
                if (isScreenModuleRequired()) {
                    throw new ModuleNotFoundException("Could not find screen module: " + moduleName);
                }
            }
        } catch (ModuleLoaderException e) {
            throw new WebxException("Failed to load screen module: " + moduleName, e);
        } catch (Exception e) {
View Full Code Here

Examples of com.alibaba.citrus.service.moduleloader.ModuleNotFoundException

                } finally {
                    ScreenEventUtil.setEventName(rundata.getRequest(), null);
                }
            } else {
                if (isScreenModuleRequired()) {
                    throw new ModuleNotFoundException("Could not find screen module: " + finder.moduleName);
                }
            }
        } catch (ModuleLoaderException e) {
            throw new WebxException("Failed to load screen module: " + finder.moduleName, e);
        } catch (Exception e) {
View Full Code Here

Examples of com.alibaba.citrus.service.moduleloader.ModuleNotFoundException

    public Module getModule(String moduleType, String moduleName)
            throws ModuleLoaderException, ModuleNotFoundException {
        Module module = getModuleQuiet(moduleType, moduleName);

        if (module == null) {
            throw new ModuleNotFoundException("Module not found: type=" + moduleType + ", name=" + moduleName);
        }

        return module;
    }
View Full Code Here

Examples of com.alibaba.citrus.service.moduleloader.ModuleNotFoundException

                } finally {
                    ScreenEventUtil.setEventName(rundata.getRequest(), null);
                }
            } else {
                if (isScreenModuleRequired()) {
                    throw new ModuleNotFoundException("Could not find screen module: " + finder.moduleName);
                }
            }
        } catch (ModuleLoaderException e) {
            throw new WebxException("Failed to load screen module: " + finder.moduleName, e);
        } catch (Exception e) {
View Full Code Here

Examples of com.alibaba.citrus.service.moduleloader.ModuleNotFoundException

            // ������ʵ����page-driven������дģ�壬��Ҫʱ��дһ��module class��֮��Ӧ��
            if (module != null) {
                module.execute();
            } else {
                if (isScreenModuleRequired()) {
                    throw new ModuleNotFoundException("Could not find screen module: " + moduleName);
                }
            }
        } catch (ModuleLoaderException e) {
            throw new WebxException("Failed to load screen module: " + moduleName, e);
        } catch (Exception e) {
View Full Code Here

Examples of com.alibaba.citrus.service.moduleloader.ModuleNotFoundException

    public Module getModule(String moduleType, String moduleName) throws ModuleLoaderException, ModuleNotFoundException {
        Module module = getModuleQuiet(moduleType, moduleName);

        if (module == null) {
            throw new ModuleNotFoundException("Module not found: type=" + moduleType + ", name=" + moduleName);
        }

        return module;
    }
View Full Code Here

Examples of com.caucho.repository.ModuleNotFoundException

      } finally {
  if (is != null)
    is.close();
      }
    } catch (SecurityException e) {
      throw new ModuleNotFoundException(L.l("{0} failed signature validation",
              urlString, e));
    } catch (MalformedURLException e) {
      throw new ModuleNotFoundException(e);
    } catch (IOException e) {
      throw new ModuleNotFoundException(L.l("{0} is an unknown module",
              urlString),
          e);
    } catch (RuntimeException e) {
      throw e;
    } catch (Exception e) {
View Full Code Here

Examples of com.caucho.repository.ModuleNotFoundException

      } finally {
  if (is != null)
    is.close();
      }
    } catch (SecurityException e) {
      throw new ModuleNotFoundException(L.l("{0} failed signature validation",
              path.getURL(), e));
    } catch (MalformedURLException e) {
      throw new ModuleNotFoundException(e);
    } catch (IOException e) {
      throw new ModuleNotFoundException(L.l("{0} is an unknown module",
              path.getURL()),
          e);
    } catch (RuntimeException e) {
      throw e;
    } catch (Exception e) {
View Full Code Here

Examples of com.jverrecchia.initializr.builder.errors.ModuleNotFoundException

   
    String jsonString = null;
    try {
      jsonString = Utils.readFileAsString(filepath);
    } catch (IOException e) {
      throw new ModuleNotFoundException(moduleName);
    }
   
    return gson.fromJson(jsonString, Module.class);
  }
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.