Package net.sf.jelly.apt

Examples of net.sf.jelly.apt.TemplateException


  private boolean value = true;

  protected Iterator<Accessor> getLoop(TemplateModel model) throws TemplateException {
    TypeDefinition typeDef = getTypeDefinition();
    if (typeDef == null) {
      throw new TemplateException("A type definition must be supplied.");
    }

    List<Accessor> accessors = new ArrayList<Accessor>();
    if (attributes) {
      aggregateAttributes(accessors, typeDef);
View Full Code Here


          imports.add(classnameFor.convert((ImplicitChildElement) webMethod.getWebResult()));
          addComponentTypes(returnType, imports);
        }
      }
      else {
        throw new TemplateException("The declaration must be either an endpoint interface or a web method.");
      }
    }
    catch (TemplateModelException e) {
      throw new TemplateException(e);
    }

    Iterator<String> importsIt = imports.iterator();
    while (importsIt.hasNext()) {
      //clear out any of the primitives and primary actionscript types; they don't need an import.
View Full Code Here

TOP

Related Classes of net.sf.jelly.apt.TemplateException

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.