com.adventnet.snmp.proxy
Class ErrorMapping

java.lang.Object
  |
  +--com.adventnet.snmp.proxy.ErrorMapping

class ErrorMapping
extends java.lang.Object

Class to map the V2 errors to corresponding V1 errors.

Using the getErrorMap(), the user can get the V1 error corresponding to the V2 error.


Field Summary
(package private) static java.util.Hashtable mapTable
           
 
Constructor Summary
(package private) ErrorMapping()
           
 
Method Summary
(package private) static void ()
           
(package private) static int getErrorMap(int error)
          Method to get the V1 error corresponding to the particular V2 error code value given as parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mapTable

static java.util.Hashtable mapTable
Constructor Detail

ErrorMapping

ErrorMapping()
Method Detail

static void ()

getErrorMap

static int getErrorMap(int error)
Method to get the V1 error corresponding to the particular V2 error code value given as parameter.
Parameters:
error - The V2 error which is to be mapped to V1 error.
Returns:
The V1 error corresponding to the V2 error given.