Package com.tnsai.mcp.testing
Class MockMcpServer.MockToolException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.tnsai.mcp.testing.MockMcpServer.MockToolException
- All Implemented Interfaces:
Serializable
- Enclosing class:
MockMcpServer
Exception thrown by mock tool handlers to simulate errors.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MockToolException
-
-
Method Details
-
getCode
public int getCode()
-