org.snmp4j
Class MessageException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.snmp4j.MessageException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- UnsupportedAddressClassException
public class MessageException
- extends java.io.IOException
The MessageException
represents information about an exception
occured during message processing. The associated
StatusInformation
object provides (if present) detailed
information about the error that occured and the status of the processed
message.
- Version:
- 1.0.1
- Author:
- Frank Fock
- See Also:
- Serialized Form
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 |
MessageException
public MessageException()
MessageException
public MessageException(StatusInformation status)
- Creates a
MessageException
from a
StatusInformation
object.
- Parameters:
status
- a StatusInformation
instance.
MessageException
public MessageException(java.lang.String message)
getStatusInformation
public StatusInformation getStatusInformation()
setStatusInformation
public void setStatusInformation(StatusInformation statusInformation)
Copyright © 2011 SNMP4J.org. All Rights Reserved.