Asn1ValueParseException Class Reference

Inheritance diagram for Asn1ValueParseException:
Asn1Exception

List of all members.

Public Member Functions

 Asn1ValueParseException (System.String text, int offset)
 Asn1ValueParseException (System.String text)

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 ( System.String  text  ) 

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

Parameters:
text The value string that could not be parsed
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:
text The value string that could not be parsed
offset Offset to error location in string