Examples of RuntimeChildChoiceDefinition


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

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

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

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
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.