CachingAssertionFailedException Class
Exception thrown upon internal assertion failures in the Flashtrace.Formatters library.
Inheritance
Namespace: Metalama.Patterns.Caching
Assembly: Metalama.Patterns.Caching.Backend.dll
Syntax
[RunTimeOrCompileTime]
public sealed class CachingAssertionFailedException : ApplicationException
Remarks
Throw CachingAssertionFailedException instead of using System.Diagnostics.Debug assert methods so that the compiler can track execution flow.
Constructors
Name | Description |
---|---|
CachingAssertionFailedException() | Initializes a new instance of the CachingAssertionFailedException class with the default error message. |
CachingAssertionFailedException(String) | Initializes a new instance of the CachingAssertionFailedException class specifying the error message. |
CachingAssertionFailedException(String, Exception) | Initializes a new instance of the CachingAssertionFailedException class specifying the error message and the inner System.Exception. |