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.

Asn1InvalidChoiceOptionException Class Reference

Inheritance diagram for Asn1InvalidChoiceOptionException:

Asn1Exception List of all members.

Detailed Description

This class defines the 'ASN.1 invalid choice option' exception that is thrown when a CHOICE construct is detected to contain an element that is not within the given set.


Public Member Functions

 Asn1InvalidChoiceOptionException ()
 Asn1InvalidChoiceOptionException (Asn1PerDecodeBuffer buffer, int index)
 Asn1InvalidChoiceOptionException (Asn1BerDecodeBuffer buffer, Asn1Tag tag)


Constructor & Destructor Documentation

Asn1InvalidChoiceOptionException Asn1BerDecodeBuffer  buffer,
Asn1Tag  tag
 

This constructor creates an exception object with a textual message describing the tag of the invalid element..

Parameters:
buffer BER Decode buffer object reference
tag Tag value of duplicate element

Asn1InvalidChoiceOptionException Asn1PerDecodeBuffer  buffer,
int  index
 

This constructor creates an exception object with a textual message describing the PER choice index of the invalid element..

Parameters:
buffer PER Decode buffer object reference
index Parsed choice index value

Asn1InvalidChoiceOptionException  ) 
 

The default constructor is invoked in the encode logic if the object assigned to the choice item is not in the allowed set..


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