Package org.snmp4j.agent.agentx
Class AgentXParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.snmp4j.agent.agentx.AgentXParseException
- All Implemented Interfaces:
Serializable
The
AgentXParseException
represents the AgentX BER encoding parse exception.- See Also:
-
Constructor Summary
ConstructorDescriptionAgentXParseException
(AgentXMessageHeader header, IOException exception) Creates aAgentXMessageHeader
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AgentXParseException
Creates aAgentXMessageHeader
- Parameters:
header
- the message header (as complet as possible).exception
- theIOException
if available.
-
-
Method Details
-
getAgentXHeader
Gets the AgentX header.- Returns:
- a possibly incomplete
AgentXMessageHeader
ornull
if the header could not be parsed.
-