public class HL7v2Exception extends RuntimeException
RuntimeException
so it need not to be caught.
All calls are delegated to the contained HL7Exception
Constructor and Description |
---|
HL7v2Exception(ca.uhn.hl7v2.HL7Exception nested) |
Modifier and Type | Method and Description |
---|---|
ca.uhn.hl7v2.ErrorCode |
getError() |
int |
getErrorCode() |
ca.uhn.hl7v2.Location |
getLocation() |
String |
getMessage() |
String |
getMessageWithoutLocation() |
ca.uhn.hl7v2.model.Message |
getResponseMessage() |
ca.uhn.hl7v2.Severity |
getSeverity() |
ca.uhn.hl7v2.model.Message |
populateResponse(ca.uhn.hl7v2.model.Message emptyResponse,
ca.uhn.hl7v2.AcknowledgmentCode acknowledgmentCode,
int repetition) |
void |
setDetail(Object detail) |
void |
setError(ca.uhn.hl7v2.ErrorCode errorCode) |
void |
setErrorCode(int errorCode) |
void |
setFieldPosition(int pos) |
void |
setLocation(ca.uhn.hl7v2.Location location) |
void |
setResponseMessage(ca.uhn.hl7v2.model.Message responseMessage) |
void |
setSegmentName(String segmentName) |
void |
setSegmentRepetition(int segmentRepetition) |
void |
setSeverity(ca.uhn.hl7v2.Severity severity) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public void setSegmentRepetition(int segmentRepetition)
public ca.uhn.hl7v2.ErrorCode getError()
public void setFieldPosition(int pos)
public void setError(ca.uhn.hl7v2.ErrorCode errorCode)
public ca.uhn.hl7v2.model.Message populateResponse(ca.uhn.hl7v2.model.Message emptyResponse, ca.uhn.hl7v2.AcknowledgmentCode acknowledgmentCode, int repetition) throws ca.uhn.hl7v2.HL7Exception
ca.uhn.hl7v2.HL7Exception
public String getMessageWithoutLocation()
public ca.uhn.hl7v2.Severity getSeverity()
public void setResponseMessage(ca.uhn.hl7v2.model.Message responseMessage)
public void setDetail(Object detail)
public void setErrorCode(int errorCode)
public void setSeverity(ca.uhn.hl7v2.Severity severity)
public int getErrorCode()
public void setSegmentName(String segmentName)
public ca.uhn.hl7v2.model.Message getResponseMessage()
public void setLocation(ca.uhn.hl7v2.Location location)
public ca.uhn.hl7v2.Location getLocation()
public String getMessage()
getMessage
in class Throwable
Copyright © 2018 Open eHealth Foundation. All rights reserved.