Tabnine Logo
ValidationException.setSeverity
Code IndexAdd Tabnine to your IDE (free)

How to use
setSeverity
method
in
ca.uhn.hl7v2.validation.ValidationException

Best Java code snippets using ca.uhn.hl7v2.validation.ValidationException.setSeverity (Showing top 10 results out of 315)

origin: ca.uhn.hapi/hapi-base

public ValidationException(String message, Throwable cause, Severity severity) {
  super(message, cause);
  setSeverity(severity);
}
origin: ca.uhn.hapi/hapi-osgi-base

public ValidationException(Throwable cause, Severity severity) {
  super(cause);
  setSeverity(severity);
}
origin: ca.uhn.hapi/hapi-base

public ValidationException(Throwable cause, Severity severity) {
  super(cause);
  setSeverity(severity);
}
origin: ca.uhn.hapi/hapi-base

public ValidationException(String msg, Severity severity) {
  super(msg);
  setSeverity(severity);
}

origin: ca.uhn.hapi/hapi-osgi-base

public ValidationException(String message, Throwable cause, Severity severity) {
  super(message, cause);
  setSeverity(severity);
}
origin: ca.uhn.hapi/hapi-osgi-base

public ValidationException(String msg, Severity severity) {
  super(msg);
  setSeverity(severity);
}

origin: org.openehealth.ipf.gazelle/ipf-gazelle-validation-commons-core

public static void profileViolatedWhen(boolean errorCondition, List<ValidationException> exceptions,
                    ProfileValidationMessage validationErrorMessage, Object... details) {
  if (errorCondition) {
    ValidationException he = new ValidationException(String.format(validationErrorMessage.errorMessage(), details));
    he.setError(validationErrorMessage.errorCode());
    he.setSeverity(validationErrorMessage.severity());
    exceptions.add(he);
  }
}
origin: org.openehealth.ipf.gazelle/ipf-gazelle-validation-commons-core

public static void profileNotHL7Compliant(List<ValidationException> exceptions, ProfileValidationMessage validationErrorMessage, Object... details) {
  ValidationException he = new ValidationException(String.format(validationErrorMessage.errorMessage(), details));
  he.setError(validationErrorMessage.errorCode());
  he.setSeverity(validationErrorMessage.severity());
  exceptions.add(he);
}
origin: ca.uhn.hapi/hapi-base

public static ValidationException fromHL7Exception(HL7Exception e) {
  ValidationException ve = new ValidationException(e.getMessageWithoutLocation(), e);
  ve.setErrorCode(e.getErrorCode());
  ve.setLocation(e.getLocation());
  ve.setSeverity(e.getSeverity());
  return ve;
}
origin: ca.uhn.hapi/hapi-osgi-base

public static ValidationException fromHL7Exception(HL7Exception e) {
  ValidationException ve = new ValidationException(e.getMessageWithoutLocation(), e);
  ve.setErrorCode(e.getErrorCode());
  ve.setLocation(e.getLocation());
  ve.setSeverity(e.getSeverity());
  return ve;
}
ca.uhn.hl7v2.validationValidationExceptionsetSeverity

Popular methods of ValidationException

  • <init>
  • setError
  • fromHL7Exception
  • getMessage
  • getSeverity
  • populateResponse
  • setErrorCode
  • setLocation
  • setFieldPosition
  • setSegmentName

Popular in Java

  • Reading from database using SQL prepared statement
  • onRequestPermissionsResult (Fragment)
  • findViewById (Activity)
  • getContentResolver (Context)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • JList (javax.swing)
  • Table (org.hibernate.mapping)
    A relational table
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now