public class MessageException extends IOException
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.| Constructor and Description |
|---|
MessageException() |
MessageException(StatusInformation status)
Creates a
MessageException from a
StatusInformation object. |
MessageException(String message) |
| Modifier and Type | Method and Description |
|---|---|
StatusInformation |
getStatusInformation() |
void |
setStatusInformation(StatusInformation statusInformation) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MessageException()
public MessageException(StatusInformation status)
MessageException from a
StatusInformation object.status - a StatusInformation instance.public MessageException(String message)
public StatusInformation getStatusInformation()
public void setStatusInformation(StatusInformation statusInformation)
Copyright © 2014 SNMP4J.org. All rights reserved.