• Webinars
  • Docs
  • Download
  • Blogs
  • Contact Us
Try Free
Show / Hide Table of Contents

Constructor ParserException

ParserException()

Default constructor.

Declaration
public ParserException()

ParserException(String)

Overloaded constructor, takes the reason as parameter.

Declaration
public ParserException(string reason)
Parameters
Type Name Description
System.String reason

ParserException(String, Exception)

Overloaded constructor.

Declaration
public ParserException(string reason, Exception inner)
Parameters
Type Name Description
System.String reason

Reason for exception

System.Exception inner

Nested exception

ParserException(Int32)

Overloaded constructor

Declaration
public ParserException(int errorCode)
Parameters
Type Name Description
System.Int32 errorCode

Assigned errorcode

ParserException(Int32, String)

Overloaded constructor

Declaration
public ParserException(int errorCode, string reason)
Parameters
Type Name Description
System.Int32 errorCode

assigned errorcode

System.String reason

exception message

ParserException(Int32, String, String)

Overloaded constructor

Declaration
public ParserException(int errorCode, string reason, string stackTrace)
Parameters
Type Name Description
System.Int32 errorCode

assigned errorcode

System.String reason

exception message

System.String stackTrace

stacktrace

ParserException(Int32, String, Exception)

Overloaded constructor

Declaration
public ParserException(int errorCode, string reason, Exception inner)
Parameters
Type Name Description
System.Int32 errorCode

assigned errorcode

System.String reason

exception message

System.Exception inner

nested exception

ParserException(SerializationInfo, StreamingContext)

Overloaded constructor, manual serialization.

Declaration
protected ParserException(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo info
System.Runtime.Serialization.StreamingContext context
Back to top Copyright © 2017 Alachisoft