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



##########
File path: core/src/main/scala/org/apache/spark/SparkException.scala
##########
@@ -41,6 +48,30 @@ class SparkException(
   override def getSqlState: String = 
SparkThrowableHelper.getSqlState(errorClass.orNull)
 }
 
+class SparkRuntimeException(
+    message: String,
+    cause: Throwable,

Review comment:
       ok,I will simplify this class to only accept errorClass and 
messageParameters,also with others. The cause is needed for it in 
QueryExecutionErrors. Thank you.




-- 
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