pysnmp.compat.pysnmp1x.error
index
/home/mcfletch/pylive/pysnmp/compat/pysnmp1x/error.py

Deprecated PySNMP 1.x compatibility interface to exception classes.
Suggested by Case Van Horsen <case@ironwater.com>.
 
Copyright 1999-2002 by Ilya Etingof <ilya@glas.net>. See LICENSE for
details.

 
Modules
       
pysnmp.error

 
Classes
       
PySnmpError(Exception)
PySNMPError
BEREngineError
BadEncoding
BadIPAddress
BadObjectID
BadSubObjectID
OverFlow
TypeMismatch
UnknownTag
BadArgument
SNMPEngineError
BadCommunity
BadPDUType
BadRequestID
BadVersion
EmptyResponse
NoResponse
NotConnected
TransportError
SNMPError

 
class BEREngineError(PySNMPError)
    Base class for BER encapsulation exceptions
 
 
Method resolution order:
BEREngineError
PySNMPError
PySnmpError
Exception

Methods inherited from PySnmpError:
__init__(self, why='')
__nonzero__(self)
__repr__(self)
__str__(self)

Methods inherited from Exception:
__getitem__(...)

 
class BadArgument(PySNMPError)
    Bad argument passed
 
 
Method resolution order:
BadArgument
PySNMPError
PySnmpError
Exception

Methods inherited from PySnmpError:
__init__(self, why='')
__nonzero__(self)
__repr__(self)
__str__(self)

Methods inherited from Exception:
__getitem__(...)

 
class BadCommunity(SNMPEngineError)
    Bad SNMP community name
 
 
Method resolution order:
BadCommunity
SNMPEngineError
PySNMPError
PySnmpError
Exception

Methods inherited from PySnmpError:
__init__(self, why='')
__nonzero__(self)
__repr__(self)
__str__(self)

Methods inherited from Exception:
__getitem__(...)

 
class BadEncoding(BEREngineError)
    Incorrect BER encoding
 
 
Method resolution order:
BadEncoding
BEREngineError
PySNMPError
PySnmpError
Exception

Methods inherited from PySnmpError:
__init__(self, why='')
__nonzero__(self)
__repr__(self)
__str__(self)

Methods inherited from Exception:
__getitem__(...)

 
class BadIPAddress(BEREngineError)
    Bad IP address
 
 
Method resolution order:
BadIPAddress
BEREngineError
PySNMPError
PySnmpError
Exception

Methods inherited from PySnmpError:
__init__(self, why='')
__nonzero__(self)
__repr__(self)
__str__(self)

Methods inherited from Exception:
__getitem__(...)

 
class BadObjectID(BEREngineError)
    Malformed Object ID
 
 
Method resolution order:
BadObjectID
BEREngineError
PySNMPError
PySnmpError
Exception

Methods inherited from PySnmpError:
__init__(self, why='')
__nonzero__(self)
__repr__(self)
__str__(self)

Methods inherited from Exception:
__getitem__(...)

 
class BadPDUType(SNMPEngineError)
    Bad SNMP PDU type
 
 
Method resolution order:
BadPDUType
SNMPEngineError
PySNMPError
PySnmpError
Exception

Methods inherited from PySnmpError:
__init__(self, why='')
__nonzero__(self)
__repr__(self)
__str__(self)

Methods inherited from Exception:
__getitem__(...)

 
class BadRequestID(SNMPEngineError)
    SNMP request/response IDs mismatched
 
 
Method resolution order:
BadRequestID
SNMPEngineError
PySNMPError
PySnmpError
Exception

Methods inherited from PySnmpError:
__init__(self, why='')
__nonzero__(self)
__repr__(self)
__str__(self)

Methods inherited from Exception:
__getitem__(...)

 
class BadSubObjectID(BEREngineError)
    Bad sub-Object ID
 
 
Method resolution order:
BadSubObjectID
BEREngineError
PySNMPError
PySnmpError
Exception

Methods inherited from PySnmpError:
__init__(self, why='')
__nonzero__(self)
__repr__(self)
__str__(self)

Methods inherited from Exception:
__getitem__(...)

 
class BadVersion(SNMPEngineError)
    Unsupported SNMP version
 
 
Method resolution order:
BadVersion
SNMPEngineError
PySNMPError
PySnmpError
Exception

Methods inherited from PySnmpError:
__init__(self, why='')
__nonzero__(self)
__repr__(self)
__str__(self)

Methods inherited from Exception:
__getitem__(...)

 
class EmptyResponse(SNMPEngineError)
    Empty SNMP response
 
 
Method resolution order:
EmptyResponse
SNMPEngineError
PySNMPError
PySnmpError
Exception

Methods inherited from PySnmpError:
__init__(self, why='')
__nonzero__(self)
__repr__(self)
__str__(self)

Methods inherited from Exception:
__getitem__(...)

 
class NoResponse(SNMPEngineError)
    No SNMP response arrived before timeout
 
 
Method resolution order:
NoResponse
SNMPEngineError
PySNMPError
PySnmpError
Exception

Methods inherited from PySnmpError:
__init__(self, why='')
__nonzero__(self)
__repr__(self)
__str__(self)

Methods inherited from Exception:
__getitem__(...)

 
class NotConnected(SNMPEngineError)
    SNMP session is not established
 
 
Method resolution order:
NotConnected
SNMPEngineError
PySNMPError
PySnmpError
Exception

Methods inherited from PySnmpError:
__init__(self, why='')
__nonzero__(self)
__repr__(self)
__str__(self)

Methods inherited from Exception:
__getitem__(...)

 
class OverFlow(BEREngineError)
    Data item does not fit the packet
 
 
Method resolution order:
OverFlow
BEREngineError
PySNMPError
PySnmpError
Exception

Methods inherited from PySnmpError:
__init__(self, why='')
__nonzero__(self)
__repr__(self)
__str__(self)

Methods inherited from Exception:
__getitem__(...)

 
class PySNMPError(PySnmpError)
    Base class for PySNMP error handlers
 
 
Method resolution order:
PySNMPError
PySnmpError
Exception

Methods inherited from PySnmpError:
__init__(self, why='')
__nonzero__(self)
__repr__(self)
__str__(self)

Methods inherited from Exception:
__getitem__(...)

 
class SNMPEngineError(PySNMPError)
    Base class for SNMP engine exceptions
 
 
Method resolution order:
SNMPEngineError
PySNMPError
PySnmpError
Exception

Methods inherited from PySnmpError:
__init__(self, why='')
__nonzero__(self)
__repr__(self)
__str__(self)

Methods inherited from Exception:
__getitem__(...)

 
class SNMPError(PySNMPError)
    RFC 1157 SNMP errors
 
 
Method resolution order:
SNMPError
PySNMPError
PySnmpError
Exception

Methods defined here:
__init__(self, status, index)
__str__(self)
Return verbose error message if known

Data and other attributes defined here:
errors = ['(noError) No Error', '(tooBig) Response message would have been too large.', '(noSuchName) There is no such variable name in this MIB.', '(badValue) The value given has the wrong type or length.', '(readOnly) The two parties used do not have access to use the specified SNMP PDU.', '(genError) A general failure occured.', '(noAccess) Access denied.', '(wrongType) Wrong BER type', '(wrongLength) Wrong BER length.', '(wrongEncoding) Wrong BER encoding.', '(wrongValue) Wrong value.', '(noCreation) ', '(inconsistentValue) ', '(resourceUnavailable) ', '(commitFailed) ', '(undoFailed) ', '(authorizationError) ', '(notWritable) ', '(inconsistentName) ']

Methods inherited from PySnmpError:
__nonzero__(self)
__repr__(self)

Methods inherited from Exception:
__getitem__(...)

 
class TransportError(SNMPEngineError)
    Network transport error
 
 
Method resolution order:
TransportError
SNMPEngineError
PySNMPError
PySnmpError
Exception

Methods defined here:
__init__(self, why)
__str__(self)

Methods inherited from PySnmpError:
__nonzero__(self)
__repr__(self)

Methods inherited from Exception:
__getitem__(...)

 
class TypeMismatch(BEREngineError)
    ASN.1 data type mistmatch
 
 
Method resolution order:
TypeMismatch
BEREngineError
PySNMPError
PySnmpError
Exception

Methods inherited from PySnmpError:
__init__(self, why='')
__nonzero__(self)
__repr__(self)
__str__(self)

Methods inherited from Exception:
__getitem__(...)

 
class UnknownTag(BEREngineError)
    Unknown BER tag
 
 
Method resolution order:
UnknownTag
BEREngineError
PySNMPError
PySnmpError
Exception

Methods inherited from PySnmpError:
__init__(self, why='')
__nonzero__(self)
__repr__(self)
__str__(self)

Methods inherited from Exception:
__getitem__(...)