Objective Systems, Inc.  
Home
About ASN.1
Products
Free Software
Open Source
Documents
Services
Resources
Resellers
Customers
Careers
About Us
Contact Us
 

Google


Objective Systems, Inc.

Asn1Exception Class Reference

Inheritance diagram for Asn1Exception:

Asn1ConsVioException Asn1EndOfBufferException Asn1InvalidArgException Asn1InvalidChoiceOptionException Asn1InvalidEnumException Asn1InvalidLengthException Asn1InvalidObjectIDException Asn1MissingRequiredException Asn1NotInSetException Asn1SeqOrderException Asn1SetDuplicateException Asn1TagMatchFailedException Asn1ValueParseException List of all members.

Detailed Description

This class defines a generic ASN.1 exception for use as a base class for exceptions common to all encode/decode operations. Specific exceptions for BER, DER, and PER encoding and decoding are subclassed from this base class..


Public Member Functions

 Asn1Exception (Asn1DecodeBuffer buffer, System.String message)
 Asn1Exception (System.String message, System.Exception innerException)
 Asn1Exception (System.String message)


Constructor & Destructor Documentation

Asn1Exception System.String  message  ) 
 

This constructor passes the given message text to the superclass.

Parameters:
message Error message text

Asn1Exception System.String  message,
System.Exception  innerException
 

This constructor passes the given message text to the superclass.

Parameters:
message Error message text
innerException The exception that is the cause of the current exception.

Asn1Exception Asn1DecodeBuffer  buffer,
System.String  message
 

This constructor creates the base exception object and captures the current buffer offset from the Decode buffer..

Parameters:
buffer ASN.1 Decode buffer object reference
message Error message text


Copyright © 1997-2005 Objective Systems,Inc.
All Rights Reserved.
This document may be distributed in any form, electronic
or otherwise, provided that it is distributed in its entirety
and that the copyright and this notice are included.

This file was last modified on 18 Nov 2005.
ASN1C C# Runtime Library, 5.8