viirya commented on pull request #32519:
URL: https://github.com/apache/spark/pull/32519#issuecomment-839531906


   > I don't think this is true though .. it's just a short cut of 
`java.lang.RuntimeException`.
   
   Oh, yea, you're right. 
   
   ```scala
   package object sys {
     /** Throw a new RuntimeException with the supplied message.
      *
      *  @return   Nothing.
      */
     def error(message: String): Nothing = throw new RuntimeException(message)
   ...
   ```


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

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