HOME

com.ireasoning.protocol.snmp
Class SnmpDecodingException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.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 DECRYPTION_ERROR
           
static int OUT_OF_TIME_WINDOWS
           
static int UNKNOWN_ENGINE_ID
           
static int UNKNOWN_SECURITY_MODEL
           
static int UNKNOWN_USER
           
static int UNSUPPORTED_SEC_LEVELS
           
 
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, 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
 

Field Detail

UNKNOWN_USER

public static final int UNKNOWN_USER
See Also:
Constant Field Values

AUTHENTICATION_FAILED

public static final int AUTHENTICATION_FAILED
See Also:
Constant Field Values

OUT_OF_TIME_WINDOWS

public static final int OUT_OF_TIME_WINDOWS
See Also:
Constant Field Values

UNKNOWN_ENGINE_ID

public static final int UNKNOWN_ENGINE_ID
See Also:
Constant Field Values

UNKNOWN_SECURITY_MODEL

public static final int UNKNOWN_SECURITY_MODEL
See Also:
Constant Field Values

DECRYPTION_ERROR

public static final int DECRYPTION_ERROR
See Also:
Constant Field Values

UNSUPPORTED_SEC_LEVELS

public static final int UNSUPPORTED_SEC_LEVELS
See Also:
Constant Field Values
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.