public abstract class AbstractHL7Exception extends Exception
| Constructor and Description |
|---|
AbstractHL7Exception() |
AbstractHL7Exception(String message) |
AbstractHL7Exception(String message,
Throwable cause) |
AbstractHL7Exception(Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
ErrorCode |
getError() |
int |
getErrorCode() |
Location |
getLocation() |
String |
getMessage() |
String |
getMessageWithoutLocation() |
Severity |
getSeverity() |
Message |
populateResponse(Message response,
AcknowledgmentCode acknowledgmentCode,
int repetition)
Populates the generated response based on this exception.
|
void |
setError(ErrorCode errorCode) |
void |
setErrorCode(int errorCode) |
void |
setFieldPosition(int pos) |
void |
setLocation(Location location) |
void |
setSegmentName(String segmentName) |
void |
setSegmentRepetition(int segmentRepetition) |
void |
setSeverity(Severity severity) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AbstractHL7Exception()
public AbstractHL7Exception(String message, Throwable cause)
public AbstractHL7Exception(String message)
public AbstractHL7Exception(Throwable cause)
public Location getLocation()
public void setLocation(Location location)
public void setFieldPosition(int pos)
public void setSegmentName(String segmentName)
public void setSegmentRepetition(int segmentRepetition)
public int getErrorCode()
public void setErrorCode(int errorCode)
public Severity getSeverity()
public void setSeverity(Severity severity)
public Message populateResponse(Message response, AcknowledgmentCode acknowledgmentCode, int repetition) throws HL7Exception
response - response messageacknowledgmentCode - the acknowledgement codeHL7Exception - if populating the response failspublic String getMessage()
getMessage in class Throwablepublic String getMessageWithoutLocation()
Copyright © 2001-2013 University Health Network. All Rights Reserved.