Java
Duplicate throws
Warning
New
Last modified: 03 December 2024 Reports duplicate exceptions in a method throws
list.
Example:
void f() throws Exception, Exception {}
After the quick-fix is applied:
void f() throws Exception {}
- By ID
Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.
DuplicateThrows
Use the Ignore exceptions subclassing others option to ignore exceptions subclassing other exceptions.
Here you can find the description of settings available for the Duplicate throws inspection, and the reference of their default values.
Inspection Details | |
---|---|
By default bundled with: | |
Can be installed with plugin: | Java, 243.23126 |
Thanks for your feedback!
Was this page helpful?