|
LINK="#0000bb" VLINK="#551a8b" ALINK="#ff0000">
The pysnmp.asn1.ber package - error handling
Components of pysnmp.asn1.ber package may raise exceptions
based on the following classes:
- class BerError([err_msg])
-
Instances of this class represent an exception occurred in the
pysnmp.asn1.ber code. This is a subclass of
pysnmp.asn1.error.Asn1Error class,
and a base class for more specific, package-wide exceptions.
- class BadArgumentError([err_msg])
-
Instances of this class represent a bad argument exception occurred in the
pysnmp.asn1.ber code. This is a subclass of
BerError class.
- class TypeMismatchError([err_msg])
-
Instances of this class raised on attempt to decode an object of wrong
ASN.1 type (determined by ASN.1 tag). This is a subclass of
BerError
class.
- class OverFlowError([err_msg])
-
Instances of this class raised whenever decoded data don't fit their
placeholder. This is a subclass of BerError
class.
- class UnderRunError([err_msg])
-
Instances of this class indicate short BER octet stream. This is a subclass of
BerError
class.
- class BadEncodingError([err_msg])
-
Instances of this class indicate incorrect BER octet stream. This is a
subclass of BerError
class.
Subsections
Neither of the above classes defines additional methods to their base classes.
ilya@glas.net
|