Table of Contents

NotAcceptableException Constructor

Definition

Namespace
Cuemon.AspNetCore.Http
Assemblies
Cuemon.AspNetCore.dll
Source
src/Cuemon.AspNetCore/Http/NotAcceptableException.cs

NotAcceptableException()

Initializes a new instance of the NotAcceptableException class.

public NotAcceptableException()

NotAcceptableException(Exception)

Initializes a new instance of the NotAcceptableException class.

public NotAcceptableException(Exception innerException)

Parameters

innerException Exception

The exception that is the cause of the current exception.

NotAcceptableException(string, Exception)

Initializes a new instance of the MethodNotAllowedException class.

public NotAcceptableException(string message, Exception innerException = null)

Parameters

message string

The message that describes the HTTP status code.

innerException Exception

The exception that is the cause of the current exception.