public class HL7Exception extends AbstractHL7Exception
Modifier and Type | Field and Description |
---|---|
static int |
ACK_AA
Deprecated.
|
static int |
ACK_AE
Deprecated.
|
static int |
ACK_AR
Deprecated.
|
static int |
ACK_CA
Deprecated.
|
static int |
ACK_CE
Deprecated.
|
static int |
ACK_CR
Deprecated.
|
static int |
APPLICATION_INTERNAL_ERROR
Deprecated.
use
ErrorCode |
static int |
APPLICATION_RECORD_LOCKED
Deprecated.
use
ErrorCode |
static int |
DATA_TYPE_ERROR
Deprecated.
use
ErrorCode |
static int |
DUPLICATE_KEY_IDENTIFIER
Deprecated.
use
ErrorCode |
static int |
MESSAGE_ACCEPTED
Deprecated.
use
ErrorCode |
static int |
REQUIRED_FIELD_MISSING
Deprecated.
use
ErrorCode |
static int |
SEGMENT_SEQUENCE_ERROR
Deprecated.
use
ErrorCode |
static int |
TABLE_VALUE_NOT_FOUND
Deprecated.
use
ErrorCode |
static int |
UNKNOWN_KEY_IDENTIFIER
Deprecated.
use
ErrorCode |
static int |
UNSUPPORTED_EVENT_CODE
Deprecated.
use
ErrorCode |
static int |
UNSUPPORTED_MESSAGE_TYPE
Deprecated.
use
ErrorCode |
static int |
UNSUPPORTED_PROCESSING_ID
Deprecated.
use
ErrorCode |
static int |
UNSUPPORTED_VERSION_ID
Deprecated.
use
ErrorCode |
Constructor and Description |
---|
HL7Exception(String message)
Creates an HL7Exception with the code APPLICATION_INTERNAL_ERROR
|
HL7Exception(String message,
ErrorCode error)
Creates an HL7Exception.
|
HL7Exception(String message,
ErrorCode error,
Throwable cause)
Creates an HL7Exception.
|
HL7Exception(String message,
int errorCondition)
Deprecated.
use HL7Exception(String, ErrorCode)
|
HL7Exception(String message,
int errorCondition,
Throwable cause)
Deprecated.
use HL7Exception(String, ErrorCode, Throwable)
|
HL7Exception(String message,
Throwable cause)
Creates an HL7Exception with the code APPLICATION_INTERNAL_ERROR
|
HL7Exception(Throwable cause)
Creates an HL7Exception with the code APPLICATION_INTERNAL_ERROR
|
Modifier and Type | Method and Description |
---|---|
Object |
getDetail() |
void |
setDetail(Object detail) |
getError, getErrorCode, getLocation, getMessage, getMessageWithoutLocation, getResponseMessage, getSeverity, populateResponse, setError, setErrorCode, setFieldPosition, setLocation, setResponseMessage, setSegmentName, setSegmentRepetition, setSeverity
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final int ACK_AA
AcknowledgmentCode
public static final int ACK_AE
AcknowledgmentCode
public static final int ACK_AR
AcknowledgmentCode
public static final int ACK_CA
AcknowledgmentCode
public static final int ACK_CE
AcknowledgmentCode
public static final int ACK_CR
AcknowledgmentCode
public static final int MESSAGE_ACCEPTED
ErrorCode
public static final int SEGMENT_SEQUENCE_ERROR
ErrorCode
public static final int REQUIRED_FIELD_MISSING
ErrorCode
public static final int DATA_TYPE_ERROR
ErrorCode
public static final int TABLE_VALUE_NOT_FOUND
ErrorCode
public static final int UNSUPPORTED_MESSAGE_TYPE
ErrorCode
public static final int UNSUPPORTED_EVENT_CODE
ErrorCode
public static final int UNSUPPORTED_PROCESSING_ID
ErrorCode
public static final int UNSUPPORTED_VERSION_ID
ErrorCode
public static final int UNKNOWN_KEY_IDENTIFIER
ErrorCode
public static final int DUPLICATE_KEY_IDENTIFIER
ErrorCode
public static final int APPLICATION_RECORD_LOCKED
ErrorCode
public static final int APPLICATION_INTERNAL_ERROR
ErrorCode
public HL7Exception(String message, int errorCondition, Throwable cause)
errorCondition
- a code describing the the error condition, from HL7 table 0357 (see
section 2.16.8 of standard v 2.4) - ErrorCode defines these codes
that can be used here (e.g. ErrorCode.UNSUPPORTED_MESSAGE_TYPE.getCode())cause
- The exception that caused this exception to be thrown.public HL7Exception(String message, ErrorCode error, Throwable cause)
message
- error messageerror
- a code describing the the error condition, from HL7 table 0357 (see
section 2.16.8 of standard v 2.4)cause
- The exception that caused this exception to be thrown.public HL7Exception(String message, int errorCondition)
errorCondition
- a code describing the the error condition, from HL7 table 0357 (see
section 2.16.8 of standard v 2.4) - ErrorCode defines these codes
that can be used here (e.g. ErrorCode.UNSUPPORTED_MESSAGE_TYPE.getCode())public HL7Exception(String message, ErrorCode error)
message
- error messageerror
- a code describing the the error condition, from HL7 table 0357 (see
section 2.16.8 of standard v 2.4).public HL7Exception(String message, Throwable cause)
message
- error messagecause
- The excption that caused this exception tobe thrown.public HL7Exception(Throwable cause)
cause
- The excption that caused this exception tobe thrown.public HL7Exception(String message)
message
- error messageCopyright © 2001–2017 University Health Network. All rights reserved.