C# Class Microsoft.OData.OpenAPI.OpenApiException

Exception type representing exceptions in the Open API library.
Inheritance: InvalidOperationException
Datei anzeigen Open project: bcgov/jag-spd-spice

Public Methods

Method Description
OpenApiException ( ) : System

Creates a new instance of the OpenApiException class with default values.

OpenApiException ( string message ) : System

Creates a new instance of the OpenApiException class with an error message.

OpenApiException ( string message, Exception innerException ) : System

Creates a new instance of the OpenApiException class with an error message and an inner exception.

Method Details

OpenApiException() public method

Creates a new instance of the OpenApiException class with default values.
public OpenApiException ( ) : System
return System

OpenApiException() public method

Creates a new instance of the OpenApiException class with an error message.
public OpenApiException ( string message ) : System
message string The plain text error message for this exception.
return System

OpenApiException() public method

Creates a new instance of the OpenApiException class with an error message and an inner exception.
public OpenApiException ( string message, Exception innerException ) : System
message string The plain text error message for this exception.
innerException Exception The inner exception that is the cause of this exception to be thrown.
return System