DRILL-2961: Part 2--Core: Have set...Timeout methods throw rather than ignore.
Changed implementation of Statement.setQueryTimeout(...) and
Connection.setNetworkTimeout(...) to throw SQLFeatureNotSupportedException
rather than silently not setting timeout.
Main:
- Added implementations of Statement.{set,get}QueryTimeout(...) and
Connection.{set,get}NetworkTimeout(...) methods (in classes
DrillStatementImpl, DrillConnectionImpl).
- Added Drill-specific narrowed declarations and documentation (in
interfaces DrillStatement and DrillConnection).
- Added unit tests (in new StatementTest, ConnectionTest).
Narrowed other thrown exceptions to allow narrowing in above methods:
- Narrowed exceptions on isClosed() and checkNotClosed() (in
DrillConnectionImpl, DrillStatementImpl).
- Added InvalidParameterSqlException.