Package org.codehaus.xfire.gen

Examples of org.codehaus.xfire.gen.GenerationException


              genericType = ((JPrimitiveType) genericType).boxify();
            }
            holder = holder.narrow((JClass) genericType);
            return holder;
        } catch (Exception e) {
            throw new GenerationException("Could not find holder type.", e);
        }
    }
View Full Code Here


            }*/
           
            JClass exCls = getExceptionClass(context, faultInfo);
           
            if (exCls == null)
                throw new GenerationException("Could not find generated " +
                        "fault class for " + faultInfo.getName() + "!");
           
            if( faultInfo.getDocumentation()!= null){
             JCommentPart commentPart = method.javadoc().addThrows(exCls);
             commentPart.add(faultInfo.getDocumentation());
View Full Code Here

    }

    model = schemaCompiler.bind();

    if (er.hasFatalErrors())
      throw new GenerationException("Error generating JAXB model.");

    jaxbModel = model.generateCode(null, er);
    // jaxbModel.build(context.getOutputDirectory());

    context.setCodeModel(jaxbModel);
View Full Code Here

      if (clazz == null) {
        clazz = provider.getTypeClass(schemaType, null);
      }

      if (clazz == null) {
        throw new GenerationException("Could not find type "
            + concreteType);
      }

      typeClass = codeModel._ref(clazz);
    }
View Full Code Here

TOP

Related Classes of org.codehaus.xfire.gen.GenerationException

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.