ASN1C C# Runtime Library  7.6
Public Member Functions | List of all members
Asn1ValueParseException Class Reference
Inheritance diagram for Asn1ValueParseException:
Asn1Exception

Public Member Functions

 Asn1ValueParseException (System.String text)
 
 Asn1ValueParseException (System.String text, int offset)
 
- Public Member Functions inherited from Asn1Exception
 Asn1Exception (System.String message)
 
 Asn1Exception (System.String message, System.Exception innerException)
 
 Asn1Exception (Asn1DecodeBuffer buffer, System.String message)
 

Detailed Description

This class defines the 'ASN.1 value Parse' exception that is thrown when a string containing an ASN.1 value cannot be parsed.

Constructor & Destructor Documentation

◆ Asn1ValueParseException() [1/2]

Asn1ValueParseException ( System.String  text)

This constructor creates an exception object with a textual message describing the expected and parsed tag values.

Parameters
textThe value string that could not be parsed

◆ Asn1ValueParseException() [2/2]

Asn1ValueParseException ( System.String  text,
int  offset 
)

This constructor creates an exception object with a textual message describing the expected and parsed tag values. This version allows the offset in the string to also be specified.

Parameters
textThe value string that could not be parsed
offsetOffset to error location in string