korlov42 commented on code in PR #2271: URL: https://github.com/apache/ignite-3/pull/2271#discussion_r1263392787
########## modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/util/Commons.java: ########## @@ -392,7 +392,7 @@ public static <T> T compile(Class<T> interfaceType, String body) { return (T) cbe.createInstance(new StringReader(body)); } catch (Exception e) { - throw new SqlException(EXPRESSION_COMPILATION_ERR, e); + throw new SqlException(INTERNAL_ERR, "Unable to compile expression", e); Review Comment: any code from error group `Common` should be used with Ignite[Internal][Checked]Exception -- 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: notifications-unsubscr...@ignite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org