HOME

com.ireasoning.protocol.snmp
Class SnmpDecodingException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.ireasoning.protocol.snmp.SnmpDecodingException
All Implemented Interfaces:
Serializable

public class SnmpDecodingException
extends Exception

An SnmpDecodingException is raised when something wrong is detected during decoding process.

See Also:
Serialized Form

Field Summary
static int AUTHENTICATION_FAILED
           
static int OUT_OF_TIME_WINDOWS
           
static int UNKNOWN_ENGINE_ID
           
static int UNKNOWN_SECURITY_MODEL
           
static int UNKNOWN_USER
           
 
Constructor Summary
SnmpDecodingException()
          Default constructor
SnmpDecodingException(String msg)
          Constructs a new exception with the specified detail message.
SnmpDecodingException(String msg, int errorCode)
          Constructs a new exception with the specified detail message.
 
Method Summary
 int getErrorCode()
          Returns the error code
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNKNOWN_USER

public static final int UNKNOWN_USER

AUTHENTICATION_FAILED

public static final int AUTHENTICATION_FAILED

OUT_OF_TIME_WINDOWS

public static final int OUT_OF_TIME_WINDOWS

UNKNOWN_ENGINE_ID

public static final int UNKNOWN_ENGINE_ID

UNKNOWN_SECURITY_MODEL

public static final int UNKNOWN_SECURITY_MODEL
Constructor Detail

SnmpDecodingException

public SnmpDecodingException()
Default constructor

SnmpDecodingException

public SnmpDecodingException(String msg)
Constructs a new exception with the specified detail message.
Parameters:
msg - the detail message.

SnmpDecodingException

public SnmpDecodingException(String msg,
                             int errorCode)
Constructs a new exception with the specified detail message.
Parameters:
errorCode - error code
msg - the detail message.
Method Detail

getErrorCode

public int getErrorCode()
Returns the error code

HOME

Copyright © 2002 iReasoning Inc. All Rights Reserved.