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
message
String
A message explaining the exception
Initializes a new instance of the ParsingFailedException class
C#
public ParsingFailedException(string message, Exception inner)
Parameters
message
String
A message explaining the exception
inner
Exception
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
message
String
A message explaining the exception
inner
Exception
The inner exception that caused this one
errorCode
Int32
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
message
String
A message explaining the exception
errorCode
Int32
A unique error code for the error that occurred