Class FinCommServiceException

Namespace
Subsembly.FinTS
Assembly
Subsembly.FinTS.Core.dll

A FinCommServiceException may be thrown by an IFinCommService implementation to indicate some kind of transport failure.

public class FinCommServiceException : Exception, ISerializable
Inheritance
FinCommServiceException
Implements
Inherited Members

Remarks

All transport exceptions carry a FinCommServiceExceptionCode that further differentiates the nature of the transport failure. Additionally a descriptive message string may be included.

If applicable the original exception, such as for example a WebException, is included as the inner exception.

Constructors

FinCommServiceException(FinCommServiceExceptionCode)

Create a new FinCommServiceException.

public FinCommServiceException(FinCommServiceExceptionCode nCode)

Parameters

nCode FinCommServiceExceptionCode

The transport exception code of the exception.

FinCommServiceException(FinCommServiceExceptionCode, Exception)

Create a new FinCommServiceException with a reference to the original exception instance.

public FinCommServiceException(FinCommServiceExceptionCode nCode, Exception aInnerException)

Parameters

nCode FinCommServiceExceptionCode
aInnerException Exception

FinCommServiceException(FinCommServiceExceptionCode, string)

Create a new FinCommServiceException with a descriptive message.

public FinCommServiceException(FinCommServiceExceptionCode nCode, string sMessage)

Parameters

nCode FinCommServiceExceptionCode

The transport exception code of the exception.

sMessage string

Descriptive message. This message should be readable to the human user.

FinCommServiceException(FinCommServiceExceptionCode, string, Exception)

Create a new FinCommServiceException with a descriptive message and a reference to the original exception instance.

public FinCommServiceException(FinCommServiceExceptionCode nCode, string sMessage, Exception aInnerException)

Parameters

nCode FinCommServiceExceptionCode

The transport exception code of the exception.

sMessage string

Descriptive message. This message should be readable to the human user.

aInnerException Exception

The original exception, such as for example a WebException, that caused the transport failure.

Properties

Code

Provides the detailed exception code of this FinCommServiceException.

public FinCommServiceExceptionCode Code { get; }

Property Value

FinCommServiceExceptionCode

Methods

GetMessage(FinCommServiceExceptionCode)

Gets a human readable message for a FinCommServiceExceptionCode.

public static string GetMessage(FinCommServiceExceptionCode nCode)

Parameters

nCode FinCommServiceExceptionCode

Returns

string