|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException com.objsys.asn1j.runtime.Asn1Exception com.objsys.asn1j.runtime.Asn1InvalidChoiceOptionException
public class Asn1InvalidChoiceOptionException
This class defines the 'ASN.1 invalid choice option' exception that is thrown from BER/DER methods when a CHOICE construct is detected to contain an element that is not within the given set.
Constructor Summary | |
---|---|
Asn1InvalidChoiceOptionException()
The default constructor is invoked in the encode logic if the object assigned to the choice item is not in the allowed set.. |
|
Asn1InvalidChoiceOptionException(Asn1BerDecodeBuffer buffer,
Asn1Tag tag)
This constructor creates an exception object with a textual message describing the tag of the invalid 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.. |
Method Summary |
---|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Asn1InvalidChoiceOptionException(Asn1BerDecodeBuffer buffer, Asn1Tag tag)
buffer
- BER decode buffer object referencetag
- Tag value of duplicate elementpublic Asn1InvalidChoiceOptionException(Asn1PerDecodeBuffer buffer, int index)
buffer
- PER decode buffer object referenceindex
- Parsed choice index valuepublic Asn1InvalidChoiceOptionException()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |