Class PreconditionFailedException
- Namespace
- Cuemon.AspNetCore.Http
- Assembly
- Cuemon.AspNetCore.dll
The exception that is thrown when the client has indicated preconditions in its headers which the server does not meet.
public class PreconditionFailedException : HttpStatusCodeException, ISerializable
- Inheritance
-
ObjectExceptionPreconditionFailedException
- Implements
-
ISerializable
- Inherited Members
-
Exception.GetBaseException()Exception.GetType()Exception.DataException.HelpLinkException.HResultException.InnerExceptionException.MessageException.SourceException.StackTraceException.TargetSiteException.SerializeObjectState
Constructors
PreconditionFailedException()
Initializes a new instance of the PreconditionFailedException class.
public PreconditionFailedException()
PreconditionFailedException(Exception)
Initializes a new instance of the PreconditionFailedException class.
public PreconditionFailedException(Exception innerException)
Parameters
innerException
ExceptionThe exception that is the cause of the current exception.
PreconditionFailedException(String, Exception)
Initializes a new instance of the PreconditionFailedException class.
public PreconditionFailedException(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.