Commit dd5f22b
style(health): throw IllegalStateException instead of raw Exception (#35602)
Addresses PR #35771 review feedback — a specific unchecked type
communicates intent more clearly than a raw checked Exception. The
surrounding measureExecution(...) machinery still catches it as Exception,
so behavior is unchanged.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 4ab51b8 commit dd5f22b
1 file changed
Lines changed: 2 additions & 1 deletion
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
| 88 | + | |
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
| |||
0 commit comments