Class FinSecurityException
A FinSecurityException may be thrown by many security related methods.
Inheritance
Implements
Inherited Members
Namespace: Subsembly.FinTS
Assembly: Subsembly.FinTS.Core.dll
Syntax
public class FinSecurityException : Exception, ISerializable
Remarks
If applicable the original exception is included as the inner exception.
Constructors
FinSecurityException(FinSecurityExceptionCode)
Create a new FinSecurityException.
Declaration
public FinSecurityException(FinSecurityExceptionCode nCode)
Parameters
Type | Name | Description |
---|---|---|
FinSecurityExceptionCode | nCode | The exception code of the exception. |
FinSecurityException(FinSecurityExceptionCode, String)
Create a new FinSecurityException with a descriptive message.
Declaration
public FinSecurityException(FinSecurityExceptionCode nCode, string sMessage)
Parameters
Type | Name | Description |
---|---|---|
FinSecurityExceptionCode | nCode | The exception code of the exception. |
System.String | sMessage | Descriptive message. This message is intended to be consumed by the developer and not the user. |
FinSecurityException(FinSecurityExceptionCode, String, Exception)
Create a new FinSecurityException with a descriptive message and a reference to the original exception instance.
Declaration
public FinSecurityException(FinSecurityExceptionCode nCode, string sMessage, Exception aInnerException)
Parameters
Type | Name | Description |
---|---|---|
FinSecurityExceptionCode | nCode | The exception code of the exception. |
System.String | sMessage | Descriptive message. This message is intended to be consumed by the developer and not the user. |
System.Exception | aInnerException | The original exception that caused the failure. |
Properties
Code
Provides the detailed exception code of this FinSecurityException.
Declaration
public FinSecurityExceptionCode Code { get; }
Property Value
Type | Description |
---|---|
FinSecurityExceptionCode |