Show / Hide Table of Contents

Class ParsingFailedException

Exception thrown when a parser has failed to parse a request body and request execution should halt

Inheritance
Object
Exception
ApiException
ParsingFailedException
Implements
ISerializable
Namespace: Seltzr.Exceptions
Assembly: Seltzr.dll
Syntax
C#
public class ParsingFailedException : ApiException, ISerializable

Constructors

| Improve this Doc View Source

ParsingFailedException()

Initializes a new instance of the ParsingFailedException class

C#
public ParsingFailedException()
| Improve this Doc View Source

ParsingFailedException(String)

Initializes a new instance of the ParsingFailedException class

C#
public ParsingFailedException(string message)
Parameters
messageString

A message explaining the exception

| Improve this Doc View Source

ParsingFailedException(String, 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

| Improve this Doc View Source

ParsingFailedException(String, Exception, Int32)

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

| Improve this Doc View Source

ParsingFailedException(String, Int32)

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

Implements

System.Runtime.Serialization.ISerializable
  • Improve this Doc
  • View Source
Back to top Generated by DocFX