Istvan Toth created PHOENIX-6891:
------------------------------------
Summary: Phoenix should throw SQLExceptions instead of
RuntimeExceptions via JDBC
Key: PHOENIX-6891
URL: https://issues.apache.org/jira/browse/PHOENIX-6891
Project: Phoenix
Issue Type: Bug
Components: core
Reporter: Istvan Toth
We should make sure that all exceptions that we throw are SQLExceptions.
This does not apply to real unchecked expcetions like FNFE, but we shouldn't
generate Runtime exceptions in the Phoenix sql logic, or at least catch and
wrap them.
For example PDataType throws java.lang.UnsupportedOperation, which is bubbled
up via the JDBC API to the caller. These should be SQLExceptions.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)