Share via


OpenApiReaderException Constructors

Definition

Overloads

Name Description
OpenApiReaderException()

Initializes the OpenApiReaderException class.

OpenApiReaderException(String)

Initializes the OpenApiReaderException class with a custom message.

OpenApiReaderException(String, ParsingContext)

Initializes the OpenApiReaderException class with a custom message.

OpenApiReaderException(String, Exception)

Initializes the OpenApiReaderException class with a custom message and inner exception.

OpenApiReaderException()

Source:
OpenApiReaderException.cs

Initializes the OpenApiReaderException class.

public OpenApiReaderException();
Public Sub New ()

Applies to

OpenApiReaderException(String)

Source:
OpenApiReaderException.cs

Initializes the OpenApiReaderException class with a custom message.

public OpenApiReaderException(string message);
new Microsoft.OpenApi.OpenApiReaderException : string -> Microsoft.OpenApi.OpenApiReaderException
Public Sub New (message As String)

Parameters

message
String

Plain text error message for this exception.

Applies to

OpenApiReaderException(String, ParsingContext)

Source:
OpenApiReaderException.cs

Initializes the OpenApiReaderException class with a custom message.

public OpenApiReaderException(string message, Microsoft.OpenApi.Reader.ParsingContext context);
new Microsoft.OpenApi.OpenApiReaderException : string * Microsoft.OpenApi.Reader.ParsingContext -> Microsoft.OpenApi.OpenApiReaderException
Public Sub New (message As String, context As ParsingContext)

Parameters

message
String

Plain text error message for this exception.

context
ParsingContext

Context of current parsing process.

Applies to

OpenApiReaderException(String, Exception)

Source:
OpenApiReaderException.cs

Initializes the OpenApiReaderException class with a custom message and inner exception.

public OpenApiReaderException(string message, Exception innerException);
new Microsoft.OpenApi.OpenApiReaderException : string * Exception -> Microsoft.OpenApi.OpenApiReaderException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

Plain text error message for this exception.

innerException
Exception

Inner exception that caused this exception to be thrown.

Applies to