Open sandboxFocus

Class CachingAssertionFailedException

Exception thrown upon internal assertion failures in the Flashtrace.Formatters library.

Inheritance
CachingAssertionFailedException
Implements
Namespace: Metalama.Patterns.Caching
Assembly: Metalama.Patterns.Caching.Backend.dll
Syntax
[RunTimeOrCompileTime]
public sealed class CachingAssertionFailedException : ApplicationException, ISerializable
Remarks

Throw CachingAssertionFailedException instead of using 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 Exception.