# Class McpToolsetException.McpInitializationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.google.adk.tools.mcp.McpToolsetException
com.google.adk.tools.mcp.McpToolsetException.McpInitializationException

All Implemented Interfaces:
  `Serializable`

Enclosing class:
  `McpToolsetException`

public static class McpToolsetException.McpInitializationException extends McpToolsetException
Exception thrown when there's an error during MCP session initialization.

See Also:
  - Serialized Form

- ## Nested Class Summary

  ### Nested classes/interfaces inherited from class McpToolsetException

  `McpToolsetException.McpInitializationException, McpToolsetException.McpToolLoadingException`
  Modifier and Type
  Class
  Description
  `static class`
  `McpToolsetException.McpInitializationException`
  Exception thrown when there's an error during MCP session initialization.
  `static class`
  `McpToolsetException.McpToolLoadingException`
  Exception thrown when there's an error during loading tools from the MCP server.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `McpInitializationException(String message, Throwable cause)`

- ## Method Summary

  ### Methods inherited from class Throwable

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### McpInitializationException

    public McpInitializationException(String message, Throwable cause)