Package ca.uhn.fhir.model.dstu.resource.OperationOutcome

Examples of ca.uhn.fhir.model.dstu.resource.OperationOutcome.Issue.addLocation()


    private void addIssue(SAXParseException theException, IssueSeverityEnum severity) {
      Issue issue = myContext.getOperationOutcome().addIssue();
      issue.setSeverity(severity);
      issue.setDetails(theException.getLocalizedMessage());
      issue.addLocation().setValue("Line[" + theException.getLineNumber() + "] Col[" + theException.getColumnNumber() + "]");
    }

    @Override
    public void error(SAXParseException theException) throws SAXException {
      addIssue(theException, IssueSeverityEnum.ERROR);
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.