Class ParsingFailedException
Exception thrown when a parser has failed to parse a request body and request execution should halt
Implements
Namespace: Seltzr.Exceptions
Assembly: Seltzr.dll
Syntax
C#
public class ParsingFailedException : ApiException, ISerializable
Constructors
Initializes a new instance of the ParsingFailedException class
C#
public ParsingFailedException()
Initializes a new instance of the ParsingFailedException class
C#
public ParsingFailedException(string message)
Parameters
messageString
A message explaining the exception
Initializes a new instance of the ParsingFailedException class
C#
public ParsingFailedException(string message, Exception inner)
Parameters
messageString
A message explaining the exception
innerException
The inner exception that caused this one
Initializes a new instance of the ParsingFailedException class
C#
public ParsingFailedException(string message, Exception inner, int errorCode)
Parameters
messageString
A message explaining the exception
innerException
The inner exception that caused this one
errorCodeInt32
A unique error code for the error that occurred
Initializes a new instance of the ParsingFailedException class
C#
public ParsingFailedException(string message, int errorCode)
Parameters
messageString
A message explaining the exception
errorCodeInt32
A unique error code for the error that occurred