public class HL7Exception extends AbstractHL7Exception
| Modifier and Type | Field and Description | 
|---|---|
| static int | ACK_AADeprecated. 
 | 
| static int | ACK_AEDeprecated. 
 | 
| static int | ACK_ARDeprecated. 
 | 
| static int | ACK_CADeprecated. 
 | 
| static int | ACK_CEDeprecated. 
 | 
| static int | ACK_CRDeprecated. 
 | 
| static int | APPLICATION_INTERNAL_ERRORDeprecated. 
 use  ErrorCode | 
| static int | APPLICATION_RECORD_LOCKEDDeprecated. 
 use  ErrorCode | 
| static int | DATA_TYPE_ERRORDeprecated. 
 use  ErrorCode | 
| static int | DUPLICATE_KEY_IDENTIFIERDeprecated. 
 use  ErrorCode | 
| static int | MESSAGE_ACCEPTEDDeprecated. 
 use  ErrorCode | 
| static int | REQUIRED_FIELD_MISSINGDeprecated. 
 use  ErrorCode | 
| static int | SEGMENT_SEQUENCE_ERRORDeprecated. 
 use  ErrorCode | 
| static int | TABLE_VALUE_NOT_FOUNDDeprecated. 
 use  ErrorCode | 
| static int | UNKNOWN_KEY_IDENTIFIERDeprecated. 
 use  ErrorCode | 
| static int | UNSUPPORTED_EVENT_CODEDeprecated. 
 use  ErrorCode | 
| static int | UNSUPPORTED_MESSAGE_TYPEDeprecated. 
 use  ErrorCode | 
| static int | UNSUPPORTED_PROCESSING_IDDeprecated. 
 use  ErrorCode | 
| static int | UNSUPPORTED_VERSION_IDDeprecated. 
 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, setSeverityaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final int ACK_AA
AcknowledgmentCodepublic static final int ACK_AE
AcknowledgmentCodepublic static final int ACK_AR
AcknowledgmentCodepublic static final int ACK_CA
AcknowledgmentCodepublic static final int ACK_CE
AcknowledgmentCodepublic static final int ACK_CR
AcknowledgmentCodepublic static final int MESSAGE_ACCEPTED
ErrorCodepublic static final int SEGMENT_SEQUENCE_ERROR
ErrorCodepublic static final int REQUIRED_FIELD_MISSING
ErrorCodepublic static final int DATA_TYPE_ERROR
ErrorCodepublic static final int TABLE_VALUE_NOT_FOUND
ErrorCodepublic static final int UNSUPPORTED_MESSAGE_TYPE
ErrorCodepublic static final int UNSUPPORTED_EVENT_CODE
ErrorCodepublic static final int UNSUPPORTED_PROCESSING_ID
ErrorCodepublic static final int UNSUPPORTED_VERSION_ID
ErrorCodepublic static final int UNKNOWN_KEY_IDENTIFIER
ErrorCodepublic static final int DUPLICATE_KEY_IDENTIFIER
ErrorCodepublic static final int APPLICATION_RECORD_LOCKED
ErrorCodepublic static final int APPLICATION_INTERNAL_ERROR
ErrorCodepublic 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.