Package ca.uhn.fhir.context

Examples of ca.uhn.fhir.context.RuntimeChildChoiceDefinition


      b.append(((BaseRuntimeDeclaredChildDefinition) nextChild).getElementName());
      b.append(" has type ");
      b.append(type);
      b.append(" but this is not a valid type for this element");
      if (nextChild instanceof RuntimeChildChoiceDefinition) {
        RuntimeChildChoiceDefinition choice = (RuntimeChildChoiceDefinition) nextChild;
        b.append(" - Expected one of: " + choice.getValidChildTypes());
      }
      throw new DataFormatException(b.toString());
    }
    throw new DataFormatException(nextChild + " has no child of type " + type);
  }
View Full Code Here


      b.append(((BaseRuntimeDeclaredChildDefinition) nextChild).getElementName());
      b.append(" has type ");
      b.append(type);
      b.append(" but this is not a valid type for this element");
      if (nextChild instanceof RuntimeChildChoiceDefinition) {
        RuntimeChildChoiceDefinition choice = (RuntimeChildChoiceDefinition) nextChild;
        b.append(" - Expected one of: " + choice.getValidChildTypes());
      }
      throw new DataFormatException(b.toString());
    }
    throw new DataFormatException(nextChild + " has no child of type " + type);
  }
View Full Code Here

      b.append(((BaseRuntimeDeclaredChildDefinition) nextChild).getElementName());
      b.append(" has type ");
      b.append(type);
      b.append(" but this is not a valid type for this element");
      if (nextChild instanceof RuntimeChildChoiceDefinition) {
        RuntimeChildChoiceDefinition choice = (RuntimeChildChoiceDefinition) nextChild;
        b.append(" - Expected one of: " + choice.getValidChildTypes());
      }
      throw new DataFormatException(b.toString());
    }
    throw new DataFormatException(nextChild + " has no child of type " + type);
  }
View Full Code Here

      b.append(((BaseRuntimeDeclaredChildDefinition) nextChild).getElementName());
      b.append(" has type ");
      b.append(type);
      b.append(" but this is not a valid type for this element");
      if (nextChild instanceof RuntimeChildChoiceDefinition) {
        RuntimeChildChoiceDefinition choice = (RuntimeChildChoiceDefinition) nextChild;
        b.append(" - Expected one of: " + choice.getValidChildTypes());
      }
      throw new DataFormatException(b.toString());
    }
    throw new DataFormatException(nextChild + " has no child of type " + type);
  }
View Full Code Here

TOP

Related Classes of ca.uhn.fhir.context.RuntimeChildChoiceDefinition

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.