Class McpToolException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.snmp4j.mcp.tool.McpToolException
All Implemented Interfaces:
Serializable

public class McpToolException extends Exception
Exception thrown when a tool execution fails.
Since:
0.0.1
Version:
0.1.0
Author:
SNMP4J.org
See Also:
  • Constructor Details

    • McpToolException

      public McpToolException(String message)
      Creates a new tool exception with the specified message.
      Parameters:
      message - the error message
    • McpToolException

      public McpToolException(String message, Throwable cause)
      Creates a new tool exception with the specified message and cause.
      Parameters:
      message - the error message
      cause - the cause