gengliangwang commented on code in PR #36693:
URL: https://github.com/apache/spark/pull/36693#discussion_r890391580


##########
core/src/main/scala/org/apache/spark/SparkException.scala:
##########
@@ -28,23 +28,47 @@ class SparkException(
     message: String,
     cause: Throwable,
     errorClass: Option[String],
+    errorSubClass: Option[String],
     messageParameters: Array[String])
   extends Exception(message, cause) with SparkThrowable {
 
+   def this(message: String,
+            cause: Throwable,
+            errorClass: Option[String],
+            messageParameters: Array[String]) =

Review Comment:
   ```suggestion
      def this(
          message: String,
          cause: Throwable,
          errorClass: Option[String],
          messageParameters: Array[String]) =
   ```



##########
core/src/main/scala/org/apache/spark/SparkException.scala:
##########
@@ -28,23 +28,47 @@ class SparkException(
     message: String,
     cause: Throwable,
     errorClass: Option[String],
+    errorSubClass: Option[String],
     messageParameters: Array[String])
   extends Exception(message, cause) with SparkThrowable {
 
+   def this(message: String,
+            cause: Throwable,
+            errorClass: Option[String],
+            messageParameters: Array[String]) =

Review Comment:
   nit comment for scala style



-- 
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: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to