Table of Contents

Class BadRequestException

Namespace
Cuemon.AspNetCore.Http
Assembly
Cuemon.AspNetCore.dll

The exception that is thrown when the server could not understand the request due to invalid syntax.

public class BadRequestException : HttpStatusCodeException, ISerializable
Inheritance
BadRequestException
Implements
Inherited Members

Constructors

BadRequestException()

Initializes a new instance of the BadRequestException class.

public BadRequestException()

BadRequestException(Exception)

Initializes a new instance of the BadRequestException class.

public BadRequestException(Exception innerException)

Parameters

innerException Exception

The exception that is the cause of the current exception.

BadRequestException(String, Exception)

Initializes a new instance of the BadRequestException class.

public BadRequestException(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.

See Also