MaxGekk commented on PR #44581:
URL: https://github.com/apache/spark/pull/44581#issuecomment-1877091968

   > I think the best option is to instantiate the corresponding java exception 
with error class name, error parameters and the full message.
   
   This require to change behaviour of all sub-classes of `SparkThrowable`. Now 
we are strict, and require to raise exception w/ correct arguments. You propose 
to relax all the checks, so, anyone could create exception with any garbage, 
and we cannot stop that. That's pivot point, and changes design. cc @srielau 
WDYT?


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