Class ALambdaException
The ALambdaException abstract class is the recommended base class for all runtime exceptions. It implements the FingerprintValue property to create a unique fingerprint from the exception type and the unformatted exception message. This allows the generated LambdaErrorReport instances to be grouped together by a log aggregator.
Implements
Namespace: LambdaSharp.Exceptions
Assembly: LambdaSharp.Logging.dll
Syntax
public abstract class ALambdaException : Exception, ISerializable, ILambdaExceptionFingerprinter
Constructors
ALambdaException(Exception, String, Object[])
Initializes a ALambdaException instance with the specified exception message and inner exception.
Declaration
protected ALambdaException(Exception innerException, string format, params object[] args)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Exception | innerException | The inner exception instance. |
| System.String | format | The exception message. |
| System.Object[] | args | Optional arguments for the exception message. |
ALambdaException(String, Object[])
Initializes a ALambdaException instance with the specified exception message and arguments.
Declaration
protected ALambdaException(string format, params object[] args)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | format | The exception message. |
| System.Object[] | args | Optional arguments for the exception message. |
Explicit Interface Implementations
ILambdaExceptionFingerprinter.FingerprintValue
Declaration
string ILambdaExceptionFingerprinter.FingerprintValue { get; }
Returns
| Type | Description |
|---|---|
| System.String |