Commit bf2669e
authored
[Chore](bitmap) change BitmapValue CHECK to throw exception (#59464)
This pull request refactors error handling in the `BitmapValue` class to
improve robustness and provide clearer error messages. Instead of using
`CHECK` macros, it now throws exceptions with detailed information when
inconsistencies are detected in the bitmap value's set count.
**Error handling improvements:**
* Replaced `CHECK` and `CHECK_EQ` macros with explicit exception
throwing (`Exception(ErrorCode::INTERNAL_ERROR, ...)`) when the set
count exceeds the threshold or does not match the expected size,
including detailed error messages with the problematic values.1 parent 23e7e76 commit bf2669e
1 file changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1977 | 1977 | | |
1978 | 1978 | | |
1979 | 1979 | | |
1980 | | - | |
| 1980 | + | |
| 1981 | + | |
| 1982 | + | |
| 1983 | + | |
1981 | 1984 | | |
1982 | 1985 | | |
1983 | 1986 | | |
1984 | 1987 | | |
1985 | | - | |
| 1988 | + | |
| 1989 | + | |
| 1990 | + | |
| 1991 | + | |
| 1992 | + | |
1986 | 1993 | | |
1987 | 1994 | | |
1988 | 1995 | | |
| |||
0 commit comments