Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-49937][INFRA] Ban call the method
SparkThrowable#getErrorClass
### What changes were proposed in this pull request? The pr aims to ban call the method `SparkThrowable#getErrorClass`. ### Why are the changes needed? After PR #48196, `SparkThrowable#getErrorClass` has been marked as `Deprecated`. In order to prevent future developers from calling `SparkThrowable#getErrorClass` again, which may require continuous fix and migration, calling `SparkThrowable#getErrorClass` is strictly prohibited as it will fail at the compilation level. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? - Pass GA. - Manually test. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #48426 from panbingkun/SPARK-49937. Authored-by: panbingkun <[email protected]> Signed-off-by: Hyukjin Kwon <[email protected]>
- Loading branch information