Peng-Lei commented on a change in pull request #33856:
URL: https://github.com/apache/spark/pull/33856#discussion_r697253372



##########
File path: core/src/main/scala/org/apache/spark/SparkException.scala
##########
@@ -90,7 +90,7 @@ private[spark] class SparkArithmeticException(errorClass: 
String, messageParamet
 /**
  * Class not found exception thrown from Spark with an error class.
  */
-class SparkClassNotFoundException(
+private[spark] class SparkClassNotFoundException(

Review comment:
       How about use `ClassNotFoundException` instead of 
`SparkClassNotFoundException` to do the specific action for users? We just 
define the new exception that start with `Spark` and  mix SparkThrowable into a 
base Exception type. So It's one-to-one with base exception.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to