The type of exception thrown when a test declaration is malformed or
contains an error.
Namespace:
Gallio.Framework.PatternAssembly: Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)
Syntax
| C# |
|---|
[SerializableAttribute] public class PatternUsageErrorException : Exception |
| Visual Basic (Declaration) |
|---|
<SerializableAttribute> _ Public Class PatternUsageErrorException _ Inherits Exception |
Remarks
Implementations of IPattern may use this exception to report that a pattern is malformed or not valid in the context in which it appears.
The exception effectively halts the processing of the pattern. The message text is then manifested as an error annotation that may be displayed to the user.
When you see this error, check to make sure that the syntax of the test is correct, all required parameters have been provided and they contain valid values.
