Examples of JibeRuntimeException


Examples of org.jibeframework.core.JibeRuntimeException

      for (Method method : methods) {
        Class<? extends Annotation> clazz;
        try {
          clazz = (Class<? extends Annotation>) Class.forName(clazzName);
        } catch (ClassNotFoundException e1) {
          throw new JibeRuntimeException("Annotation class could not be found: " + clazzName);
        }
        Annotation annotation = method.getAnnotation(clazz);
        if (annotation != null) {
          String id = null;
          try {
            id = (String) annotation.getClass().getMethod("value").invoke(annotation);
          } catch (Exception e) {
            throw new JibeRuntimeException("Annotation does not have value property: "
                + annotation.annotationType().getName());
          }

          if (StringUtils.isEmpty(id)) {
            id = String.format("%1$s.%2$s", beanName, method.getName());
View Full Code Here

Examples of org.jibeframework.core.JibeRuntimeException

          continue;
        }

      }
    }
    throw new JibeRuntimeException("Template is missing:" + template);
  }
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.