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
Object
Exception
BadRequestException
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.GetType()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState

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