org.snmp4j.transport
Class UnsupportedAddressClassException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.snmp4j.MessageException
                  extended by org.snmp4j.transport.UnsupportedAddressClassException
All Implemented Interfaces:
java.io.Serializable

public class UnsupportedAddressClassException
extends MessageException

The UnsupportedAddressClassException indicates a message exception caused by unsupported address class. When this exception is thrown, the target address class is not supported by the entity that is to sent the message and that operation will be canceled.

Version:
1.6
Author:
Frank Fock
See Also:
Serialized Form

Constructor Summary
UnsupportedAddressClassException(java.lang.String message, java.lang.Class addressClass)
           
 
Method Summary
 java.lang.Class getAddressClass()
          Returns the class of the address class that is not supported.
 
Methods inherited from class org.snmp4j.MessageException
getStatusInformation, setStatusInformation
 
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

UnsupportedAddressClassException

public UnsupportedAddressClassException(java.lang.String message,
                                        java.lang.Class addressClass)
Method Detail

getAddressClass

public java.lang.Class getAddressClass()
Returns the class of the address class that is not supported.

Returns:
a Class.

Copyright 2005-2010 Frank Fock (SNMP4J.org)

Copyright © 2011 SNMP4J.org. All Rights Reserved.