find_catch_blocks
Locate all catch blocks handling a specific Java exception type to analyze exception handling patterns and identify handlers for refactoring.
Instructions
Find all catch blocks for an exception type (catch(ExceptionType e)).
JDT-UNIQUE: This fine-grained search is not available in LSP.
USAGE: Provide fully qualified exception type name OUTPUT: All catch blocks that handle this exception type
Useful for:
Understanding exception handling patterns
Finding all handlers for a specific exception
Exception handling analysis and refactoring
Requires load_project to be called first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exceptionType | Yes | Fully qualified exception type name (e.g., 'java.io.IOException') | |
| maxResults | No | Maximum results to return (default 100) |