|
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.merge.HL7.HL7Exception
public class HL7Exception
Represents an exception thrown by the HL7 toolkit.
| Field Summary | |
|---|---|
int |
ErrorCode
This field contains an error code that can be used to identify the type of error that generated this exception. |
static int |
FILE_ACCESS_ERROR
The error code for failed file operations. |
static int |
INVALID_ARGUMENT
The error code for errors in method arguments. |
static int |
INVALID_COMPONENT_INDEX
The error code for invalid component or subcomponent indexes. |
static int |
INVALID_CONFIGURATION
The error code for invalid configuration entries. |
static int |
INVALID_DATA_TYPE
The error code for errors related to mismatched HL7 data types. |
static int |
INVALID_SEQUENCE_NUMBER
The error code for invalid field sequence numbers. |
static int |
LICENSE_ERROR
The error code for invalid licenses. |
static int |
MAPPING_SYNTAX_ERROR
The error code for syntax errors in the mapping script. |
static int |
NETWORK_ERROR
The error code for failed network operations. |
static int |
NORMALIZATION_ERROR
The error code for message normalization errors. |
static int |
SYSTEM_ERROR
The error code for system errors. |
static int |
UNKNOWN_ERORR
The error code for errors that are not defined. |
| Constructor Summary | |
|---|---|
HL7Exception(int errorCode)
Initializes a new HLException object with an error code. |
|
HL7Exception(int errorCode,
java.lang.String description)
Initializes a new HLException object with an error code and a message. |
|
HL7Exception(int errorCode,
java.lang.String description,
java.lang.Throwable innerException)
Initializes a new HLException object with an error code, a message and an exception instance that triggered this exception. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final int ErrorCode
public static final int UNKNOWN_ERORR
public static final int INVALID_ARGUMENT
public static final int SYSTEM_ERROR
public static final int INVALID_COMPONENT_INDEX
public static final int INVALID_DATA_TYPE
public static final int NORMALIZATION_ERROR
public static final int MAPPING_SYNTAX_ERROR
public static final int FILE_ACCESS_ERROR
public static final int LICENSE_ERROR
public static final int INVALID_SEQUENCE_NUMBER
public static final int INVALID_CONFIGURATION
public static final int NETWORK_ERROR
| Constructor Detail |
|---|
public HL7Exception(int errorCode)
errorCode - One of the error code defined by static fields in this class.
public HL7Exception(int errorCode,
java.lang.String description)
errorCode - One of the error code defined by static fields in this class.description - The description of the problem that generated this exception.
public HL7Exception(int errorCode,
java.lang.String description,
java.lang.Throwable innerException)
errorCode - One of the error code defined by static fields in this class.description - The description of the problem that generated this exception.innerException - The exception that caused this exception.
|
Copyright © 2010 Merge Healthcare Inc. All Rights Reserved. | ||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||