generate_exception_handler
Generate a global exception handler for Spring Boot apps. Define custom exceptions and map error responses to HTTP status codes.
Instructions
Generate global exception handler with @ControllerAdvice and custom exceptions
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "generate_exception_handler"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exceptions | No | Custom exception classes to generate | |
| packageName | No | Base package name | com.example.demo |