The HL7Exception type exposes the following members.

Constructors

  NameDescription
Public methodHL7Exception(Int32)
Initializes a new HLException object with an error code. The exception message is generated based on the error code.
Public methodHL7Exception(Int32, String)
Initializes a new HLException object with an error code and a message.
Protected methodHL7Exception(SerializationInfo, StreamingContext)
Constructor used when exceptions of this type are de-serialized.
Public methodHL7Exception(Int32, String, Exception)
Initializes a new HLException object with an error code, a message and an exception instance that triggered this exception.

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetBaseException
When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions.
(Inherited from Exception.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetObjectData
Populates a SerializationInfo with the data needed to serialize this exception.
(Overrides Exception..::..GetObjectData(SerializationInfo, StreamingContext).)
Public methodGetType
Gets the runtime type of the current instance.
(Inherited from Exception.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Creates and returns a string representation of the current exception.
(Inherited from Exception.)

Fields

  NameDescription
Public fieldErrorCode
This field contains an error code that can be used to identify the type of error that generated this exception. Valid values for this field are defined as constants in this class.
Public fieldStatic memberFILE_ACCESS_ERROR
The error code for failed file operations.
Public fieldStatic memberINVALID_ARGUMENT
The error code for errors in method arguments.
Public fieldStatic memberINVALID_COMPONENT_INDEX
The error code for invalid component or subcomponent indexes.
Public fieldStatic memberINVALID_CONFIGURATION
The error code for invalid configuration entries.
Public fieldStatic memberINVALID_DATA_TYPE
The error code for errors related to mismatched HL7 data types.
Public fieldStatic memberINVALID_SEQUENCE_NUMBER
The error code for invalid field sequence numbers.
Public fieldStatic memberINVALID_THREAD_STATE
The error code for invalid thread state.
Public fieldStatic memberLICENSE_ERROR
The error code for invalid licenses.
Public fieldStatic memberMAPPING_SYNTAX_ERROR
The error code for syntax errors in the mapping script.
Public fieldStatic memberNETWORK_ERROR
The error code for failed socket operations.
Public fieldStatic memberNORMALIZATION_ERROR
The error code for message normalization errors.
Public fieldStatic memberOPERATION_NOT_ALLOWED
The error code for not allowed operation.
Public fieldStatic memberSYSTEM_ERROR
The error code for system errors.
Public fieldStatic memberTIME_OUT
The error code for operation time out.
Public fieldStatic memberUNKNOWN_ERORR
The error code for errors that are not defined.

Properties

  NameDescription
Public propertyData
Gets a collection of key/value pairs that provide additional user-defined information about the exception.
(Inherited from Exception.)
Public propertyHelpLink
Gets or sets a link to the help file associated with this exception.
(Inherited from Exception.)
Protected propertyHResult
Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception.
(Inherited from Exception.)
Public propertyInnerException
Gets the Exception instance that caused the current exception.
(Inherited from Exception.)
Public propertyMessage
Gets a message that describes the current exception.
(Inherited from Exception.)
Public propertySource
Gets or sets the name of the application or the object that causes the error.
(Inherited from Exception.)
Public propertyStackTrace
Gets a string representation of the frames on the call stack at the time the current exception was thrown.
(Inherited from Exception.)
Public propertyTargetSite
Gets the method that throws the current exception.
(Inherited from Exception.)

See Also