Class FinTransmogrifierException
A FinTransmogrifierException may be thrown by the FinTransmogrifier class.
public class FinTransmogrifierException : Exception, ISerializable
- Inheritance
-
FinTransmogrifierException
- Implements
- Inherited Members
Constructors
FinTransmogrifierException(FinTransmogrifierExceptionCode)
Create a new FinTransmogrifierException with an FinTransmogrifierExceptionCode as its only information.
public FinTransmogrifierException(FinTransmogrifierExceptionCode nCode)
Parameters
nCodeFinTransmogrifierExceptionCodeThe transmogrifier specific exception code.
FinTransmogrifierException(FinTransmogrifierExceptionCode, int, int)
Create a new FinTransmogrifierException with an FinTransmogrifierExceptionCode and a DEG/GD position.
public FinTransmogrifierException(FinTransmogrifierExceptionCode nCode, int nDEG, int nGD)
Parameters
nCodeFinTransmogrifierExceptionCodeThe transmogrifier specific exception code.
nDEGintThe DEG position where the exception occured. May be zero to indiacte that the DEG position is not known or not relevant.
nGDintThe GD position where the exception occured. May be zero to indiacte that the GD position is not known or not relevant.
FinTransmogrifierException(FinTransmogrifierExceptionCode, string)
Create a new FinTransmogrifierException with a FinTransmogrifierExceptionCode and a descriptive message.
public FinTransmogrifierException(FinTransmogrifierExceptionCode nCode, string sMessage)
Parameters
nCodeFinTransmogrifierExceptionCodeThe transmogrifier specific exception code.
sMessagestringA descriptive english message addressed to the developer (not the user!).
FinTransmogrifierException(FinTransmogrifierExceptionCode, string, Exception)
Create a new FinTransmogrifierException with a FinTransmogrifierExceptionCode, a descriptive message and a reference to the original exception.
public FinTransmogrifierException(FinTransmogrifierExceptionCode nCode, string sMessage, Exception aInnerException)
Parameters
nCodeFinTransmogrifierExceptionCodeThe transmogrifier specific exception code.
sMessagestringA descriptive english message addressed to the developer (not the user!).
aInnerExceptionExceptionThe original exception, such as for example a XmlException, that caused this transmogrifier exception.
Properties
Code
Provides the detailed exception code of this FinTransmogrifierException.
public FinTransmogrifierExceptionCode Code { get; }
Property Value
DEG
Provides the DEG position where the exception occured. This is zero, if the DEG position is not known or not applicable.
public int DEG { get; }
Property Value
GD
Provides the GD position where the exception occured. This is zero, if the GD position is not known or not applicable.
public int GD { get; }
Property Value
Methods
ToString()
Builds a string that contains all properties of this class for diagnostic purposes.
public override string ToString()