WarningException Class

Summary

Raised to report a recoverable warning condition that should be presented to the user rather than treated as a hard error.
Namespace
GitVersion
Base Types
  • Exception
graph BT Type-->Base0["Exception"] Type["WarningException"] class Type type-node

Syntax

public class WarningException : Exception

Constructors

Name Summary
WarningException() Initializes a new instance with no message.
WarningException(string, Exception?) Initializes a new instance with the given message and inner exception.
WarningException(string) Initializes a new instance with the given warning message.

Extension Methods

Name Value Summary
NotNull<WarningException>(string) T
Throws ArgumentNullException when value is null; otherwise returns the value.
GitHub