find_throws_declarations
Locate all method signatures that declare a specific exception type to analyze exception flow and handling in Java codebases.
Instructions
Find all throws declarations of an exception type in method signatures.
JDT-UNIQUE: This fine-grained search is not available in LSP.
USAGE: Provide fully qualified exception type name OUTPUT: All methods that declare 'throws ExceptionType'
Useful for:
Understanding exception flow in the codebase
Finding all methods that can throw a specific exception
Exception handling analysis
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) |