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
ExceptionThe 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
StringThe message that describes the HTTP status code.
innerException
ExceptionThe exception that is the cause of the current exception.