cloud-fan commented on code in PR #54424:
URL: https://github.com/apache/spark/pull/54424#discussion_r2848049185
##########
sql/catalyst/src/main/java/org/apache/spark/sql/catalyst/util/geo/WkbParseException.java:
##########
@@ -19,40 +19,27 @@
/**
* Exception thrown when parsing WKB data fails.
*/
-class WkbParseException extends RuntimeException {
+public class WkbParseException extends RuntimeException {
Review Comment:
shall we just extend `SparkRuntimeException` here and specify the error
condition name? then we don't need try-catch to rethrow the error
--
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]