InvalidRegexPatternException Class
An exception that is thrown when parsing invalid regular expression patterns.
public class InvalidRegexPatternException : Exception
Constructors
InvalidRegexPatternException()
Initializes a new instance of the InvalidRegexPatternException
class.
public InvalidRegexPatternException()
InvalidRegexPatternException(SerializationInfo, StreamingContext)
Initializes a new instance of the InvalidRegexPatternException
class with serialized data.
protected InvalidRegexPatternException(SerializationInfo info, StreamingContext context)
Parameter | Type | Description |
---|---|---|
info | SerializationInfo | The SerializationInfo that holds the serialized object data about the exception being thrown. |
context | StreamingContext | The StreamingContext that contains contextual information about the source or destination. |
InvalidRegexPatternException(string)
Initializes a new instance of the InvalidRegexPatternException
class with a specified error message.
public InvalidRegexPatternException(string message)
Parameter | Type | Description |
---|---|---|
message | string | The error message that explains the reason for the exception. |
InvalidRegexPatternException(string, Exception)
Initializes a new instance of the InvalidRegexPatternException
class
with a specified error message and a reference to the inner exception that is the cause of this exception.
public InvalidRegexPatternException(string message, Exception innerException)
Parameter | Type | Description |
---|---|---|
message | string | The error message that explains the reason for the exception. |
innerException | Exception | The exception that is the cause of the current exception. |
Inherited Members
- Exception.GetBaseException()
- Exception.GetObjectData(SerializationInfo, StreamingContext)
- Exception.ToString()
- Exception.GetType()
- Exception.TargetSite
- Exception.Message
- Exception.Data
- Exception.InnerException
- Exception.HelpLink
- Exception.Source
- Exception.HResult
- Exception.StackTrace
- Exception.SerializeObjectState
- object.MemberwiseClone()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()