spark-instrumented-optimizer/common
Yuanjian Li 2977e2312d [SPARK-25986][BUILD] Add rules to ban throw Errors in application code
## What changes were proposed in this pull request?

Add scala and java lint check rules to ban the usage of `throw new xxxErrors` and fix up all exists instance followed by https://github.com/apache/spark/pull/22989#issuecomment-437939830. See more details in https://github.com/apache/spark/pull/22969.

## How was this patch tested?

Local test with lint-scala and lint-java.

Closes #22989 from xuanyuanking/SPARK-25986.

Authored-by: Yuanjian Li <xyliyuanjian@gmail.com>
Signed-off-by: Sean Owen <sean.owen@databricks.com>
2018-11-14 13:05:18 -08:00
..
kvstore [SPARK-25408] Move to more ideomatic Java8 2018-10-08 09:58:52 -05:00
network-common [SPARK-25535][CORE] Work around bad error handling in commons-crypto. 2018-10-09 09:27:08 -05:00
network-shuffle [SPARK-25408] Move to more ideomatic Java8 2018-10-08 09:58:52 -05:00
network-yarn [SPARK-25592] Setting version to 3.0.0-SNAPSHOT 2018-10-02 08:48:24 -07:00
sketch [SPARK-25408] Move to more ideomatic Java8 2018-10-08 09:58:52 -05:00
tags [SPARK-25592] Setting version to 3.0.0-SNAPSHOT 2018-10-02 08:48:24 -07:00
unsafe [SPARK-25986][BUILD] Add rules to ban throw Errors in application code 2018-11-14 13:05:18 -08:00