Noda Time
Show / Hide Table of Contents

Class InvalidPatternException

Exception thrown to indicate that the format pattern provided for either formatting or parsing is invalid.
Since 1.0.x
Availability net6.0, net8.0, netstandard2.0
Inheritance
object
Exception
SystemException
FormatException
InvalidPatternException
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.ReferenceEquals(object, object)
Namespace: NodaTime.Text
Assembly: NodaTime.dll
Syntax
public sealed class InvalidPatternException : FormatException, ISerializable

Constructors

InvalidPatternException()

Creates a new InvalidPatternException with the default FormatException message.
Since 1.0.x
Availability net6.0, net8.0, netstandard2.0
Declaration
public InvalidPatternException()

InvalidPatternException(string)

Creates a new InvalidPatternException with the given message.
Since 1.0.x
Availability net6.0, net8.0, netstandard2.0
Declaration
public InvalidPatternException(string message)
Parameters
Type Name Description
string message A message describing the nature of the failure

Implements

ISerializable
In this article
Back to top Generated by DocFX