Class McpToolException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.snmp4j.mcp.tool.McpToolException
- All Implemented Interfaces:
Serializable
Exception thrown when a tool execution fails.
- Since:
- 0.0.1
- Version:
- 0.1.0
- Author:
- SNMP4J.org
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMcpToolException(String message) Creates a new tool exception with the specified message.McpToolException(String message, Throwable cause) Creates a new tool exception with the specified message and cause. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
McpToolException
Creates a new tool exception with the specified message.- Parameters:
message- the error message
-
McpToolException
-