SourceForge.net Logo

org.netsnmp
Class NetSNMPBadValue

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.netsnmp.NetSNMPException
                    |
                    +--org.netsnmp.NetSNMPBadValue
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
NetSNMPNoSuchInstance

public class NetSNMPBadValue
extends NetSNMPException

Exception thrown when someone tries to extract a value to the incorrec type. For example, an attempt to read an OCTET-STRING as an OBJECT-IDENTIFIER or some other incorrect mapping

Author:
Andrew E. Page aepage@users.sourceforge.net
See Also:
Serialized Form

Constructor Summary
NetSNMPBadValue()
          Creates a new instance of SNMPBadValueException
NetSNMPBadValue(String msg)
           
 
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

NetSNMPBadValue

public NetSNMPBadValue()
Creates a new instance of SNMPBadValueException


NetSNMPBadValue

public NetSNMPBadValue(String msg)

SourceForge.net Logo