Modified: tomcat/trunk/java/org/apache/tomcat/dbcp/dbcp2/DelegatingResultSet.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/dbcp/dbcp2/DelegatingResultSet.java?rev=1743697&r1=1743696&r2=1743697&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/dbcp/dbcp2/DelegatingResultSet.java (original) +++ tomcat/trunk/java/org/apache/tomcat/dbcp/dbcp2/DelegatingResultSet.java Fri May 13 16:35:33 2016 @@ -78,7 +78,7 @@ public final class DelegatingResultSet e * @param stmt Statement which created this ResultSet * @param res ResultSet to wrap */ - private DelegatingResultSet(Statement stmt, ResultSet res) { + private DelegatingResultSet(final Statement stmt, final ResultSet res) { super((AbandonedTrace)stmt); this._stmt = stmt; this._res = res; @@ -95,20 +95,20 @@ public final class DelegatingResultSet e * @param conn Connection which created this ResultSet * @param res ResultSet to wrap */ - private DelegatingResultSet(Connection conn, ResultSet res) { + private DelegatingResultSet(final Connection conn, final ResultSet res) { super((AbandonedTrace)conn); this._conn = conn; this._res = res; } - public static ResultSet wrapResultSet(Statement stmt, ResultSet rset) { + public static ResultSet wrapResultSet(final Statement stmt, final ResultSet rset) { if(null == rset) { return null; } return new DelegatingResultSet(stmt,rset); } - public static ResultSet wrapResultSet(Connection conn, ResultSet rset) { + public static ResultSet wrapResultSet(final Connection conn, final ResultSet rset) { if(null == rset) { return null; } @@ -169,12 +169,12 @@ public final class DelegatingResultSet e } _res.close(); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); } } - protected void handleException(SQLException e) throws SQLException { + protected void handleException(final SQLException e) throws SQLException { if (_stmt != null && _stmt instanceof DelegatingStatement) { ((DelegatingStatement)_stmt).handleException(e); } @@ -188,564 +188,564 @@ public final class DelegatingResultSet e @Override public boolean next() throws SQLException - { try { return _res.next(); } catch (SQLException e) { handleException(e); return false; } } + { try { return _res.next(); } catch (final SQLException e) { handleException(e); return false; } } @Override public boolean wasNull() throws SQLException - { try { return _res.wasNull(); } catch (SQLException e) { handleException(e); return false; } } + { try { return _res.wasNull(); } catch (final SQLException e) { handleException(e); return false; } } @Override - public String getString(int columnIndex) throws SQLException - { try { return _res.getString(columnIndex); } catch (SQLException e) { handleException(e); return null; } } + public String getString(final int columnIndex) throws SQLException + { try { return _res.getString(columnIndex); } catch (final SQLException e) { handleException(e); return null; } } @Override - public boolean getBoolean(int columnIndex) throws SQLException - { try { return _res.getBoolean(columnIndex); } catch (SQLException e) { handleException(e); return false; } } + public boolean getBoolean(final int columnIndex) throws SQLException + { try { return _res.getBoolean(columnIndex); } catch (final SQLException e) { handleException(e); return false; } } @Override - public byte getByte(int columnIndex) throws SQLException - { try { return _res.getByte(columnIndex); } catch (SQLException e) { handleException(e); return 0; } } + public byte getByte(final int columnIndex) throws SQLException + { try { return _res.getByte(columnIndex); } catch (final SQLException e) { handleException(e); return 0; } } @Override - public short getShort(int columnIndex) throws SQLException - { try { return _res.getShort(columnIndex); } catch (SQLException e) { handleException(e); return 0; } } + public short getShort(final int columnIndex) throws SQLException + { try { return _res.getShort(columnIndex); } catch (final SQLException e) { handleException(e); return 0; } } @Override - public int getInt(int columnIndex) throws SQLException - { try { return _res.getInt(columnIndex); } catch (SQLException e) { handleException(e); return 0; } } + public int getInt(final int columnIndex) throws SQLException + { try { return _res.getInt(columnIndex); } catch (final SQLException e) { handleException(e); return 0; } } @Override - public long getLong(int columnIndex) throws SQLException - { try { return _res.getLong(columnIndex); } catch (SQLException e) { handleException(e); return 0; } } + public long getLong(final int columnIndex) throws SQLException + { try { return _res.getLong(columnIndex); } catch (final SQLException e) { handleException(e); return 0; } } @Override - public float getFloat(int columnIndex) throws SQLException - { try { return _res.getFloat(columnIndex); } catch (SQLException e) { handleException(e); return 0; } } + public float getFloat(final int columnIndex) throws SQLException + { try { return _res.getFloat(columnIndex); } catch (final SQLException e) { handleException(e); return 0; } } @Override - public double getDouble(int columnIndex) throws SQLException - { try { return _res.getDouble(columnIndex); } catch (SQLException e) { handleException(e); return 0; } } + public double getDouble(final int columnIndex) throws SQLException + { try { return _res.getDouble(columnIndex); } catch (final SQLException e) { handleException(e); return 0; } } /** @deprecated Use {@link #getBigDecimal(int)} */ @Deprecated @Override - public BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException - { try { return _res.getBigDecimal(columnIndex); } catch (SQLException e) { handleException(e); return null; } } + public BigDecimal getBigDecimal(final int columnIndex, final int scale) throws SQLException + { try { return _res.getBigDecimal(columnIndex); } catch (final SQLException e) { handleException(e); return null; } } @Override - public byte[] getBytes(int columnIndex) throws SQLException - { try { return _res.getBytes(columnIndex); } catch (SQLException e) { handleException(e); return null; } } + public byte[] getBytes(final int columnIndex) throws SQLException + { try { return _res.getBytes(columnIndex); } catch (final SQLException e) { handleException(e); return null; } } @Override - public Date getDate(int columnIndex) throws SQLException - { try { return _res.getDate(columnIndex); } catch (SQLException e) { handleException(e); return null; } } + public Date getDate(final int columnIndex) throws SQLException + { try { return _res.getDate(columnIndex); } catch (final SQLException e) { handleException(e); return null; } } @Override - public Time getTime(int columnIndex) throws SQLException - { try { return _res.getTime(columnIndex); } catch (SQLException e) { handleException(e); return null; } } + public Time getTime(final int columnIndex) throws SQLException + { try { return _res.getTime(columnIndex); } catch (final SQLException e) { handleException(e); return null; } } @Override - public Timestamp getTimestamp(int columnIndex) throws SQLException - { try { return _res.getTimestamp(columnIndex); } catch (SQLException e) { handleException(e); return null; } } + public Timestamp getTimestamp(final int columnIndex) throws SQLException + { try { return _res.getTimestamp(columnIndex); } catch (final SQLException e) { handleException(e); return null; } } @Override - public InputStream getAsciiStream(int columnIndex) throws SQLException - { try { return _res.getAsciiStream(columnIndex); } catch (SQLException e) { handleException(e); return null; } } + public InputStream getAsciiStream(final int columnIndex) throws SQLException + { try { return _res.getAsciiStream(columnIndex); } catch (final SQLException e) { handleException(e); return null; } } /** @deprecated Use {@link #getCharacterStream(int)} */ @Deprecated @Override - public InputStream getUnicodeStream(int columnIndex) throws SQLException - { try { return _res.getUnicodeStream(columnIndex); } catch (SQLException e) { handleException(e); return null; } } + public InputStream getUnicodeStream(final int columnIndex) throws SQLException + { try { return _res.getUnicodeStream(columnIndex); } catch (final SQLException e) { handleException(e); return null; } } @Override - public InputStream getBinaryStream(int columnIndex) throws SQLException - { try { return _res.getBinaryStream(columnIndex); } catch (SQLException e) { handleException(e); return null; } } + public InputStream getBinaryStream(final int columnIndex) throws SQLException + { try { return _res.getBinaryStream(columnIndex); } catch (final SQLException e) { handleException(e); return null; } } @Override - public String getString(String columnName) throws SQLException - { try { return _res.getString(columnName); } catch (SQLException e) { handleException(e); return null; } } + public String getString(final String columnName) throws SQLException + { try { return _res.getString(columnName); } catch (final SQLException e) { handleException(e); return null; } } @Override - public boolean getBoolean(String columnName) throws SQLException - { try { return _res.getBoolean(columnName); } catch (SQLException e) { handleException(e); return false; } } + public boolean getBoolean(final String columnName) throws SQLException + { try { return _res.getBoolean(columnName); } catch (final SQLException e) { handleException(e); return false; } } @Override - public byte getByte(String columnName) throws SQLException - { try { return _res.getByte(columnName); } catch (SQLException e) { handleException(e); return 0; } } + public byte getByte(final String columnName) throws SQLException + { try { return _res.getByte(columnName); } catch (final SQLException e) { handleException(e); return 0; } } @Override - public short getShort(String columnName) throws SQLException - { try { return _res.getShort(columnName); } catch (SQLException e) { handleException(e); return 0; } } + public short getShort(final String columnName) throws SQLException + { try { return _res.getShort(columnName); } catch (final SQLException e) { handleException(e); return 0; } } @Override - public int getInt(String columnName) throws SQLException - { try { return _res.getInt(columnName); } catch (SQLException e) { handleException(e); return 0; } } + public int getInt(final String columnName) throws SQLException + { try { return _res.getInt(columnName); } catch (final SQLException e) { handleException(e); return 0; } } @Override - public long getLong(String columnName) throws SQLException - { try { return _res.getLong(columnName); } catch (SQLException e) { handleException(e); return 0; } } + public long getLong(final String columnName) throws SQLException + { try { return _res.getLong(columnName); } catch (final SQLException e) { handleException(e); return 0; } } @Override - public float getFloat(String columnName) throws SQLException - { try { return _res.getFloat(columnName); } catch (SQLException e) { handleException(e); return 0; } } + public float getFloat(final String columnName) throws SQLException + { try { return _res.getFloat(columnName); } catch (final SQLException e) { handleException(e); return 0; } } @Override - public double getDouble(String columnName) throws SQLException - { try { return _res.getDouble(columnName); } catch (SQLException e) { handleException(e); return 0; } } + public double getDouble(final String columnName) throws SQLException + { try { return _res.getDouble(columnName); } catch (final SQLException e) { handleException(e); return 0; } } /** @deprecated Use {@link #getBigDecimal(String)} */ @Deprecated @Override - public BigDecimal getBigDecimal(String columnName, int scale) throws SQLException - { try { return _res.getBigDecimal(columnName); } catch (SQLException e) { handleException(e); return null; } } + public BigDecimal getBigDecimal(final String columnName, final int scale) throws SQLException + { try { return _res.getBigDecimal(columnName); } catch (final SQLException e) { handleException(e); return null; } } @Override - public byte[] getBytes(String columnName) throws SQLException - { try { return _res.getBytes(columnName); } catch (SQLException e) { handleException(e); return null; } } + public byte[] getBytes(final String columnName) throws SQLException + { try { return _res.getBytes(columnName); } catch (final SQLException e) { handleException(e); return null; } } @Override - public Date getDate(String columnName) throws SQLException - { try { return _res.getDate(columnName); } catch (SQLException e) { handleException(e); return null; } } + public Date getDate(final String columnName) throws SQLException + { try { return _res.getDate(columnName); } catch (final SQLException e) { handleException(e); return null; } } @Override - public Time getTime(String columnName) throws SQLException - { try { return _res.getTime(columnName); } catch (SQLException e) { handleException(e); return null; } } + public Time getTime(final String columnName) throws SQLException + { try { return _res.getTime(columnName); } catch (final SQLException e) { handleException(e); return null; } } @Override - public Timestamp getTimestamp(String columnName) throws SQLException - { try { return _res.getTimestamp(columnName); } catch (SQLException e) { handleException(e); return null; } } + public Timestamp getTimestamp(final String columnName) throws SQLException + { try { return _res.getTimestamp(columnName); } catch (final SQLException e) { handleException(e); return null; } } @Override - public InputStream getAsciiStream(String columnName) throws SQLException - { try { return _res.getAsciiStream(columnName); } catch (SQLException e) { handleException(e); return null; } } + public InputStream getAsciiStream(final String columnName) throws SQLException + { try { return _res.getAsciiStream(columnName); } catch (final SQLException e) { handleException(e); return null; } } /** @deprecated Use {@link #getCharacterStream(String)} */ @Deprecated @Override - public InputStream getUnicodeStream(String columnName) throws SQLException - { try { return _res.getUnicodeStream(columnName); } catch (SQLException e) { handleException(e); return null; } } + public InputStream getUnicodeStream(final String columnName) throws SQLException + { try { return _res.getUnicodeStream(columnName); } catch (final SQLException e) { handleException(e); return null; } } @Override - public InputStream getBinaryStream(String columnName) throws SQLException - { try { return _res.getBinaryStream(columnName); } catch (SQLException e) { handleException(e); return null; } } + public InputStream getBinaryStream(final String columnName) throws SQLException + { try { return _res.getBinaryStream(columnName); } catch (final SQLException e) { handleException(e); return null; } } @Override public SQLWarning getWarnings() throws SQLException - { try { return _res.getWarnings(); } catch (SQLException e) { handleException(e); return null; } } + { try { return _res.getWarnings(); } catch (final SQLException e) { handleException(e); return null; } } @Override public void clearWarnings() throws SQLException - { try { _res.clearWarnings(); } catch (SQLException e) { handleException(e); } } + { try { _res.clearWarnings(); } catch (final SQLException e) { handleException(e); } } @Override public String getCursorName() throws SQLException - { try { return _res.getCursorName(); } catch (SQLException e) { handleException(e); return null; } } + { try { return _res.getCursorName(); } catch (final SQLException e) { handleException(e); return null; } } @Override public ResultSetMetaData getMetaData() throws SQLException - { try { return _res.getMetaData(); } catch (SQLException e) { handleException(e); return null; } } + { try { return _res.getMetaData(); } catch (final SQLException e) { handleException(e); return null; } } @Override - public Object getObject(int columnIndex) throws SQLException - { try { return _res.getObject(columnIndex); } catch (SQLException e) { handleException(e); return null; } } + public Object getObject(final int columnIndex) throws SQLException + { try { return _res.getObject(columnIndex); } catch (final SQLException e) { handleException(e); return null; } } @Override - public Object getObject(String columnName) throws SQLException - { try { return _res.getObject(columnName); } catch (SQLException e) { handleException(e); return null; } } + public Object getObject(final String columnName) throws SQLException + { try { return _res.getObject(columnName); } catch (final SQLException e) { handleException(e); return null; } } @Override - public int findColumn(String columnName) throws SQLException - { try { return _res.findColumn(columnName); } catch (SQLException e) { handleException(e); return 0; } } + public int findColumn(final String columnName) throws SQLException + { try { return _res.findColumn(columnName); } catch (final SQLException e) { handleException(e); return 0; } } @Override - public Reader getCharacterStream(int columnIndex) throws SQLException - { try { return _res.getCharacterStream(columnIndex); } catch (SQLException e) { handleException(e); return null; } } + public Reader getCharacterStream(final int columnIndex) throws SQLException + { try { return _res.getCharacterStream(columnIndex); } catch (final SQLException e) { handleException(e); return null; } } @Override - public Reader getCharacterStream(String columnName) throws SQLException - { try { return _res.getCharacterStream(columnName); } catch (SQLException e) { handleException(e); return null; } } + public Reader getCharacterStream(final String columnName) throws SQLException + { try { return _res.getCharacterStream(columnName); } catch (final SQLException e) { handleException(e); return null; } } @Override - public BigDecimal getBigDecimal(int columnIndex) throws SQLException - { try { return _res.getBigDecimal(columnIndex); } catch (SQLException e) { handleException(e); return null; } } + public BigDecimal getBigDecimal(final int columnIndex) throws SQLException + { try { return _res.getBigDecimal(columnIndex); } catch (final SQLException e) { handleException(e); return null; } } @Override - public BigDecimal getBigDecimal(String columnName) throws SQLException - { try { return _res.getBigDecimal(columnName); } catch (SQLException e) { handleException(e); return null; } } + public BigDecimal getBigDecimal(final String columnName) throws SQLException + { try { return _res.getBigDecimal(columnName); } catch (final SQLException e) { handleException(e); return null; } } @Override public boolean isBeforeFirst() throws SQLException - { try { return _res.isBeforeFirst(); } catch (SQLException e) { handleException(e); return false; } } + { try { return _res.isBeforeFirst(); } catch (final SQLException e) { handleException(e); return false; } } @Override public boolean isAfterLast() throws SQLException - { try { return _res.isAfterLast(); } catch (SQLException e) { handleException(e); return false; } } + { try { return _res.isAfterLast(); } catch (final SQLException e) { handleException(e); return false; } } @Override public boolean isFirst() throws SQLException - { try { return _res.isFirst(); } catch (SQLException e) { handleException(e); return false; } } + { try { return _res.isFirst(); } catch (final SQLException e) { handleException(e); return false; } } @Override public boolean isLast() throws SQLException - { try { return _res.isLast(); } catch (SQLException e) { handleException(e); return false; } } + { try { return _res.isLast(); } catch (final SQLException e) { handleException(e); return false; } } @Override public void beforeFirst() throws SQLException - { try { _res.beforeFirst(); } catch (SQLException e) { handleException(e); } } + { try { _res.beforeFirst(); } catch (final SQLException e) { handleException(e); } } @Override public void afterLast() throws SQLException - { try { _res.afterLast(); } catch (SQLException e) { handleException(e); } } + { try { _res.afterLast(); } catch (final SQLException e) { handleException(e); } } @Override public boolean first() throws SQLException - { try { return _res.first(); } catch (SQLException e) { handleException(e); return false; } } + { try { return _res.first(); } catch (final SQLException e) { handleException(e); return false; } } @Override public boolean last() throws SQLException - { try { return _res.last(); } catch (SQLException e) { handleException(e); return false; } } + { try { return _res.last(); } catch (final SQLException e) { handleException(e); return false; } } @Override public int getRow() throws SQLException - { try { return _res.getRow(); } catch (SQLException e) { handleException(e); return 0; } } + { try { return _res.getRow(); } catch (final SQLException e) { handleException(e); return 0; } } @Override - public boolean absolute(int row) throws SQLException - { try { return _res.absolute(row); } catch (SQLException e) { handleException(e); return false; } } + public boolean absolute(final int row) throws SQLException + { try { return _res.absolute(row); } catch (final SQLException e) { handleException(e); return false; } } @Override - public boolean relative(int rows) throws SQLException - { try { return _res.relative(rows); } catch (SQLException e) { handleException(e); return false; } } + public boolean relative(final int rows) throws SQLException + { try { return _res.relative(rows); } catch (final SQLException e) { handleException(e); return false; } } @Override public boolean previous() throws SQLException - { try { return _res.previous(); } catch (SQLException e) { handleException(e); return false; } } + { try { return _res.previous(); } catch (final SQLException e) { handleException(e); return false; } } @Override - public void setFetchDirection(int direction) throws SQLException - { try { _res.setFetchDirection(direction); } catch (SQLException e) { handleException(e); } } + public void setFetchDirection(final int direction) throws SQLException + { try { _res.setFetchDirection(direction); } catch (final SQLException e) { handleException(e); } } @Override public int getFetchDirection() throws SQLException - { try { return _res.getFetchDirection(); } catch (SQLException e) { handleException(e); return 0; } } + { try { return _res.getFetchDirection(); } catch (final SQLException e) { handleException(e); return 0; } } @Override - public void setFetchSize(int rows) throws SQLException - { try { _res.setFetchSize(rows); } catch (SQLException e) { handleException(e); } } + public void setFetchSize(final int rows) throws SQLException + { try { _res.setFetchSize(rows); } catch (final SQLException e) { handleException(e); } } @Override public int getFetchSize() throws SQLException - { try { return _res.getFetchSize(); } catch (SQLException e) { handleException(e); return 0; } } + { try { return _res.getFetchSize(); } catch (final SQLException e) { handleException(e); return 0; } } @Override public int getType() throws SQLException - { try { return _res.getType(); } catch (SQLException e) { handleException(e); return 0; } } + { try { return _res.getType(); } catch (final SQLException e) { handleException(e); return 0; } } @Override public int getConcurrency() throws SQLException - { try { return _res.getConcurrency(); } catch (SQLException e) { handleException(e); return 0; } } + { try { return _res.getConcurrency(); } catch (final SQLException e) { handleException(e); return 0; } } @Override public boolean rowUpdated() throws SQLException - { try { return _res.rowUpdated(); } catch (SQLException e) { handleException(e); return false; } } + { try { return _res.rowUpdated(); } catch (final SQLException e) { handleException(e); return false; } } @Override public boolean rowInserted() throws SQLException - { try { return _res.rowInserted(); } catch (SQLException e) { handleException(e); return false; } } + { try { return _res.rowInserted(); } catch (final SQLException e) { handleException(e); return false; } } @Override public boolean rowDeleted() throws SQLException - { try { return _res.rowDeleted(); } catch (SQLException e) { handleException(e); return false; } } + { try { return _res.rowDeleted(); } catch (final SQLException e) { handleException(e); return false; } } @Override - public void updateNull(int columnIndex) throws SQLException - { try { _res.updateNull(columnIndex); } catch (SQLException e) { handleException(e); } } + public void updateNull(final int columnIndex) throws SQLException + { try { _res.updateNull(columnIndex); } catch (final SQLException e) { handleException(e); } } @Override - public void updateBoolean(int columnIndex, boolean x) throws SQLException - { try { _res.updateBoolean(columnIndex, x); } catch (SQLException e) { handleException(e); } } + public void updateBoolean(final int columnIndex, final boolean x) throws SQLException + { try { _res.updateBoolean(columnIndex, x); } catch (final SQLException e) { handleException(e); } } @Override - public void updateByte(int columnIndex, byte x) throws SQLException - { try { _res.updateByte(columnIndex, x); } catch (SQLException e) { handleException(e); } } + public void updateByte(final int columnIndex, final byte x) throws SQLException + { try { _res.updateByte(columnIndex, x); } catch (final SQLException e) { handleException(e); } } @Override - public void updateShort(int columnIndex, short x) throws SQLException - { try { _res.updateShort(columnIndex, x); } catch (SQLException e) { handleException(e); } } + public void updateShort(final int columnIndex, final short x) throws SQLException + { try { _res.updateShort(columnIndex, x); } catch (final SQLException e) { handleException(e); } } @Override - public void updateInt(int columnIndex, int x) throws SQLException - { try { _res.updateInt(columnIndex, x); } catch (SQLException e) { handleException(e); } } + public void updateInt(final int columnIndex, final int x) throws SQLException + { try { _res.updateInt(columnIndex, x); } catch (final SQLException e) { handleException(e); } } @Override - public void updateLong(int columnIndex, long x) throws SQLException - { try { _res.updateLong(columnIndex, x); } catch (SQLException e) { handleException(e); } } + public void updateLong(final int columnIndex, final long x) throws SQLException + { try { _res.updateLong(columnIndex, x); } catch (final SQLException e) { handleException(e); } } @Override - public void updateFloat(int columnIndex, float x) throws SQLException - { try { _res.updateFloat(columnIndex, x); } catch (SQLException e) { handleException(e); } } + public void updateFloat(final int columnIndex, final float x) throws SQLException + { try { _res.updateFloat(columnIndex, x); } catch (final SQLException e) { handleException(e); } } @Override - public void updateDouble(int columnIndex, double x) throws SQLException - { try { _res.updateDouble(columnIndex, x); } catch (SQLException e) { handleException(e); } } + public void updateDouble(final int columnIndex, final double x) throws SQLException + { try { _res.updateDouble(columnIndex, x); } catch (final SQLException e) { handleException(e); } } @Override - public void updateBigDecimal(int columnIndex, BigDecimal x) throws SQLException - { try { _res.updateBigDecimal(columnIndex, x); } catch (SQLException e) { handleException(e); } } + public void updateBigDecimal(final int columnIndex, final BigDecimal x) throws SQLException + { try { _res.updateBigDecimal(columnIndex, x); } catch (final SQLException e) { handleException(e); } } @Override - public void updateString(int columnIndex, String x) throws SQLException - { try { _res.updateString(columnIndex, x); } catch (SQLException e) { handleException(e); } } + public void updateString(final int columnIndex, final String x) throws SQLException + { try { _res.updateString(columnIndex, x); } catch (final SQLException e) { handleException(e); } } @Override - public void updateBytes(int columnIndex, byte[] x) throws SQLException - { try { _res.updateBytes(columnIndex, x); } catch (SQLException e) { handleException(e); } } + public void updateBytes(final int columnIndex, final byte[] x) throws SQLException + { try { _res.updateBytes(columnIndex, x); } catch (final SQLException e) { handleException(e); } } @Override - public void updateDate(int columnIndex, Date x) throws SQLException - { try { _res.updateDate(columnIndex, x); } catch (SQLException e) { handleException(e); } } + public void updateDate(final int columnIndex, final Date x) throws SQLException + { try { _res.updateDate(columnIndex, x); } catch (final SQLException e) { handleException(e); } } @Override - public void updateTime(int columnIndex, Time x) throws SQLException - { try { _res.updateTime(columnIndex, x); } catch (SQLException e) { handleException(e); } } + public void updateTime(final int columnIndex, final Time x) throws SQLException + { try { _res.updateTime(columnIndex, x); } catch (final SQLException e) { handleException(e); } } @Override - public void updateTimestamp(int columnIndex, Timestamp x) throws SQLException - { try { _res.updateTimestamp(columnIndex, x); } catch (SQLException e) { handleException(e); } } + public void updateTimestamp(final int columnIndex, final Timestamp x) throws SQLException + { try { _res.updateTimestamp(columnIndex, x); } catch (final SQLException e) { handleException(e); } } @Override - public void updateAsciiStream(int columnIndex, InputStream x, int length) throws SQLException - { try { _res.updateAsciiStream(columnIndex, x, length); } catch (SQLException e) { handleException(e); } } + public void updateAsciiStream(final int columnIndex, final InputStream x, final int length) throws SQLException + { try { _res.updateAsciiStream(columnIndex, x, length); } catch (final SQLException e) { handleException(e); } } @Override - public void updateBinaryStream(int columnIndex, InputStream x, int length) throws SQLException - { try { _res.updateBinaryStream(columnIndex, x, length); } catch (SQLException e) { handleException(e); } } + public void updateBinaryStream(final int columnIndex, final InputStream x, final int length) throws SQLException + { try { _res.updateBinaryStream(columnIndex, x, length); } catch (final SQLException e) { handleException(e); } } @Override - public void updateCharacterStream(int columnIndex, Reader x, int length) throws SQLException - { try { _res.updateCharacterStream(columnIndex, x, length); } catch (SQLException e) { handleException(e); } } + public void updateCharacterStream(final int columnIndex, final Reader x, final int length) throws SQLException + { try { _res.updateCharacterStream(columnIndex, x, length); } catch (final SQLException e) { handleException(e); } } @Override - public void updateObject(int columnIndex, Object x, int scale) throws SQLException - { try { _res.updateObject(columnIndex, x); } catch (SQLException e) { handleException(e); } } + public void updateObject(final int columnIndex, final Object x, final int scale) throws SQLException + { try { _res.updateObject(columnIndex, x); } catch (final SQLException e) { handleException(e); } } @Override - public void updateObject(int columnIndex, Object x) throws SQLException - { try { _res.updateObject(columnIndex, x); } catch (SQLException e) { handleException(e); } } + public void updateObject(final int columnIndex, final Object x) throws SQLException + { try { _res.updateObject(columnIndex, x); } catch (final SQLException e) { handleException(e); } } @Override - public void updateNull(String columnName) throws SQLException - { try { _res.updateNull(columnName); } catch (SQLException e) { handleException(e); } } + public void updateNull(final String columnName) throws SQLException + { try { _res.updateNull(columnName); } catch (final SQLException e) { handleException(e); } } @Override - public void updateBoolean(String columnName, boolean x) throws SQLException - { try { _res.updateBoolean(columnName, x); } catch (SQLException e) { handleException(e); } } + public void updateBoolean(final String columnName, final boolean x) throws SQLException + { try { _res.updateBoolean(columnName, x); } catch (final SQLException e) { handleException(e); } } @Override - public void updateByte(String columnName, byte x) throws SQLException - { try { _res.updateByte(columnName, x); } catch (SQLException e) { handleException(e); } } + public void updateByte(final String columnName, final byte x) throws SQLException + { try { _res.updateByte(columnName, x); } catch (final SQLException e) { handleException(e); } } @Override - public void updateShort(String columnName, short x) throws SQLException - { try { _res.updateShort(columnName, x); } catch (SQLException e) { handleException(e); } } + public void updateShort(final String columnName, final short x) throws SQLException + { try { _res.updateShort(columnName, x); } catch (final SQLException e) { handleException(e); } } @Override - public void updateInt(String columnName, int x) throws SQLException - { try { _res.updateInt(columnName, x); } catch (SQLException e) { handleException(e); } } + public void updateInt(final String columnName, final int x) throws SQLException + { try { _res.updateInt(columnName, x); } catch (final SQLException e) { handleException(e); } } @Override - public void updateLong(String columnName, long x) throws SQLException - { try { _res.updateLong(columnName, x); } catch (SQLException e) { handleException(e); } } + public void updateLong(final String columnName, final long x) throws SQLException + { try { _res.updateLong(columnName, x); } catch (final SQLException e) { handleException(e); } } @Override - public void updateFloat(String columnName, float x) throws SQLException - { try { _res.updateFloat(columnName, x); } catch (SQLException e) { handleException(e); } } + public void updateFloat(final String columnName, final float x) throws SQLException + { try { _res.updateFloat(columnName, x); } catch (final SQLException e) { handleException(e); } } @Override - public void updateDouble(String columnName, double x) throws SQLException - { try { _res.updateDouble(columnName, x); } catch (SQLException e) { handleException(e); } } + public void updateDouble(final String columnName, final double x) throws SQLException + { try { _res.updateDouble(columnName, x); } catch (final SQLException e) { handleException(e); } } @Override - public void updateBigDecimal(String columnName, BigDecimal x) throws SQLException - { try { _res.updateBigDecimal(columnName, x); } catch (SQLException e) { handleException(e); } } + public void updateBigDecimal(final String columnName, final BigDecimal x) throws SQLException + { try { _res.updateBigDecimal(columnName, x); } catch (final SQLException e) { handleException(e); } } @Override - public void updateString(String columnName, String x) throws SQLException - { try { _res.updateString(columnName, x); } catch (SQLException e) { handleException(e); } } + public void updateString(final String columnName, final String x) throws SQLException + { try { _res.updateString(columnName, x); } catch (final SQLException e) { handleException(e); } } @Override - public void updateBytes(String columnName, byte[] x) throws SQLException - { try { _res.updateBytes(columnName, x); } catch (SQLException e) { handleException(e); } } + public void updateBytes(final String columnName, final byte[] x) throws SQLException + { try { _res.updateBytes(columnName, x); } catch (final SQLException e) { handleException(e); } } @Override - public void updateDate(String columnName, Date x) throws SQLException - { try { _res.updateDate(columnName, x); } catch (SQLException e) { handleException(e); } } + public void updateDate(final String columnName, final Date x) throws SQLException + { try { _res.updateDate(columnName, x); } catch (final SQLException e) { handleException(e); } } @Override - public void updateTime(String columnName, Time x) throws SQLException - { try { _res.updateTime(columnName, x); } catch (SQLException e) { handleException(e); } } + public void updateTime(final String columnName, final Time x) throws SQLException + { try { _res.updateTime(columnName, x); } catch (final SQLException e) { handleException(e); } } @Override - public void updateTimestamp(String columnName, Timestamp x) throws SQLException - { try { _res.updateTimestamp(columnName, x); } catch (SQLException e) { handleException(e); } } + public void updateTimestamp(final String columnName, final Timestamp x) throws SQLException + { try { _res.updateTimestamp(columnName, x); } catch (final SQLException e) { handleException(e); } } @Override - public void updateAsciiStream(String columnName, InputStream x, int length) throws SQLException - { try { _res.updateAsciiStream(columnName, x, length); } catch (SQLException e) { handleException(e); } } + public void updateAsciiStream(final String columnName, final InputStream x, final int length) throws SQLException + { try { _res.updateAsciiStream(columnName, x, length); } catch (final SQLException e) { handleException(e); } } @Override - public void updateBinaryStream(String columnName, InputStream x, int length) throws SQLException - { try { _res.updateBinaryStream(columnName, x, length); } catch (SQLException e) { handleException(e); } } + public void updateBinaryStream(final String columnName, final InputStream x, final int length) throws SQLException + { try { _res.updateBinaryStream(columnName, x, length); } catch (final SQLException e) { handleException(e); } } @Override - public void updateCharacterStream(String columnName, Reader reader, int length) throws SQLException - { try { _res.updateCharacterStream(columnName, reader, length); } catch (SQLException e) { handleException(e); } } + public void updateCharacterStream(final String columnName, final Reader reader, final int length) throws SQLException + { try { _res.updateCharacterStream(columnName, reader, length); } catch (final SQLException e) { handleException(e); } } @Override - public void updateObject(String columnName, Object x, int scale) throws SQLException - { try { _res.updateObject(columnName, x); } catch (SQLException e) { handleException(e); } } + public void updateObject(final String columnName, final Object x, final int scale) throws SQLException + { try { _res.updateObject(columnName, x); } catch (final SQLException e) { handleException(e); } } @Override - public void updateObject(String columnName, Object x) throws SQLException - { try { _res.updateObject(columnName, x); } catch (SQLException e) { handleException(e); } } + public void updateObject(final String columnName, final Object x) throws SQLException + { try { _res.updateObject(columnName, x); } catch (final SQLException e) { handleException(e); } } @Override public void insertRow() throws SQLException - { try { _res.insertRow(); } catch (SQLException e) { handleException(e); } } + { try { _res.insertRow(); } catch (final SQLException e) { handleException(e); } } @Override public void updateRow() throws SQLException - { try { _res.updateRow(); } catch (SQLException e) { handleException(e); } } + { try { _res.updateRow(); } catch (final SQLException e) { handleException(e); } } @Override public void deleteRow() throws SQLException - { try { _res.deleteRow(); } catch (SQLException e) { handleException(e); } } + { try { _res.deleteRow(); } catch (final SQLException e) { handleException(e); } } @Override public void refreshRow() throws SQLException - { try { _res.refreshRow(); } catch (SQLException e) { handleException(e); } } + { try { _res.refreshRow(); } catch (final SQLException e) { handleException(e); } } @Override public void cancelRowUpdates() throws SQLException - { try { _res.cancelRowUpdates(); } catch (SQLException e) { handleException(e); } } + { try { _res.cancelRowUpdates(); } catch (final SQLException e) { handleException(e); } } @Override public void moveToInsertRow() throws SQLException - { try { _res.moveToInsertRow(); } catch (SQLException e) { handleException(e); } } + { try { _res.moveToInsertRow(); } catch (final SQLException e) { handleException(e); } } @Override public void moveToCurrentRow() throws SQLException - { try { _res.moveToCurrentRow(); } catch (SQLException e) { handleException(e); } } + { try { _res.moveToCurrentRow(); } catch (final SQLException e) { handleException(e); } } @Override - public Object getObject(int i, Map<String,Class<?>> map) throws SQLException - { try { return _res.getObject(i, map); } catch (SQLException e) { handleException(e); return null; } } + public Object getObject(final int i, final Map<String,Class<?>> map) throws SQLException + { try { return _res.getObject(i, map); } catch (final SQLException e) { handleException(e); return null; } } @Override - public Ref getRef(int i) throws SQLException - { try { return _res.getRef(i); } catch (SQLException e) { handleException(e); return null; } } + public Ref getRef(final int i) throws SQLException + { try { return _res.getRef(i); } catch (final SQLException e) { handleException(e); return null; } } @Override - public Blob getBlob(int i) throws SQLException - { try { return _res.getBlob(i); } catch (SQLException e) { handleException(e); return null; } } + public Blob getBlob(final int i) throws SQLException + { try { return _res.getBlob(i); } catch (final SQLException e) { handleException(e); return null; } } @Override - public Clob getClob(int i) throws SQLException - { try { return _res.getClob(i); } catch (SQLException e) { handleException(e); return null; } } + public Clob getClob(final int i) throws SQLException + { try { return _res.getClob(i); } catch (final SQLException e) { handleException(e); return null; } } @Override - public Array getArray(int i) throws SQLException - { try { return _res.getArray(i); } catch (SQLException e) { handleException(e); return null; } } + public Array getArray(final int i) throws SQLException + { try { return _res.getArray(i); } catch (final SQLException e) { handleException(e); return null; } } @Override - public Object getObject(String colName, Map<String,Class<?>> map) throws SQLException - { try { return _res.getObject(colName, map); } catch (SQLException e) { handleException(e); return null; } } + public Object getObject(final String colName, final Map<String,Class<?>> map) throws SQLException + { try { return _res.getObject(colName, map); } catch (final SQLException e) { handleException(e); return null; } } @Override - public Ref getRef(String colName) throws SQLException - { try { return _res.getRef(colName); } catch (SQLException e) { handleException(e); return null; } } + public Ref getRef(final String colName) throws SQLException + { try { return _res.getRef(colName); } catch (final SQLException e) { handleException(e); return null; } } @Override - public Blob getBlob(String colName) throws SQLException - { try { return _res.getBlob(colName); } catch (SQLException e) { handleException(e); return null; } } + public Blob getBlob(final String colName) throws SQLException + { try { return _res.getBlob(colName); } catch (final SQLException e) { handleException(e); return null; } } @Override - public Clob getClob(String colName) throws SQLException - { try { return _res.getClob(colName); } catch (SQLException e) { handleException(e); return null; } } + public Clob getClob(final String colName) throws SQLException + { try { return _res.getClob(colName); } catch (final SQLException e) { handleException(e); return null; } } @Override - public Array getArray(String colName) throws SQLException - { try { return _res.getArray(colName); } catch (SQLException e) { handleException(e); return null; } } + public Array getArray(final String colName) throws SQLException + { try { return _res.getArray(colName); } catch (final SQLException e) { handleException(e); return null; } } @Override - public Date getDate(int columnIndex, Calendar cal) throws SQLException - { try { return _res.getDate(columnIndex, cal); } catch (SQLException e) { handleException(e); return null; } } + public Date getDate(final int columnIndex, final Calendar cal) throws SQLException + { try { return _res.getDate(columnIndex, cal); } catch (final SQLException e) { handleException(e); return null; } } @Override - public Date getDate(String columnName, Calendar cal) throws SQLException - { try { return _res.getDate(columnName, cal); } catch (SQLException e) { handleException(e); return null; } } + public Date getDate(final String columnName, final Calendar cal) throws SQLException + { try { return _res.getDate(columnName, cal); } catch (final SQLException e) { handleException(e); return null; } } @Override - public Time getTime(int columnIndex, Calendar cal) throws SQLException - { try { return _res.getTime(columnIndex, cal); } catch (SQLException e) { handleException(e); return null; } } + public Time getTime(final int columnIndex, final Calendar cal) throws SQLException + { try { return _res.getTime(columnIndex, cal); } catch (final SQLException e) { handleException(e); return null; } } @Override - public Time getTime(String columnName, Calendar cal) throws SQLException - { try { return _res.getTime(columnName, cal); } catch (SQLException e) { handleException(e); return null; } } + public Time getTime(final String columnName, final Calendar cal) throws SQLException + { try { return _res.getTime(columnName, cal); } catch (final SQLException e) { handleException(e); return null; } } @Override - public Timestamp getTimestamp(int columnIndex, Calendar cal) throws SQLException - { try { return _res.getTimestamp(columnIndex, cal); } catch (SQLException e) { handleException(e); return null; } } + public Timestamp getTimestamp(final int columnIndex, final Calendar cal) throws SQLException + { try { return _res.getTimestamp(columnIndex, cal); } catch (final SQLException e) { handleException(e); return null; } } @Override - public Timestamp getTimestamp(String columnName, Calendar cal) throws SQLException - { try { return _res.getTimestamp(columnName, cal); } catch (SQLException e) { handleException(e); return null; } } + public Timestamp getTimestamp(final String columnName, final Calendar cal) throws SQLException + { try { return _res.getTimestamp(columnName, cal); } catch (final SQLException e) { handleException(e); return null; } } @Override - public java.net.URL getURL(int columnIndex) throws SQLException - { try { return _res.getURL(columnIndex); } catch (SQLException e) { handleException(e); return null; } } + public java.net.URL getURL(final int columnIndex) throws SQLException + { try { return _res.getURL(columnIndex); } catch (final SQLException e) { handleException(e); return null; } } @Override - public java.net.URL getURL(String columnName) throws SQLException - { try { return _res.getURL(columnName); } catch (SQLException e) { handleException(e); return null; } } + public java.net.URL getURL(final String columnName) throws SQLException + { try { return _res.getURL(columnName); } catch (final SQLException e) { handleException(e); return null; } } @Override - public void updateRef(int columnIndex, Ref x) throws SQLException - { try { _res.updateRef(columnIndex, x); } catch (SQLException e) { handleException(e); } } + public void updateRef(final int columnIndex, final Ref x) throws SQLException + { try { _res.updateRef(columnIndex, x); } catch (final SQLException e) { handleException(e); } } @Override - public void updateRef(String columnName, Ref x) throws SQLException - { try { _res.updateRef(columnName, x); } catch (SQLException e) { handleException(e); } } + public void updateRef(final String columnName, final Ref x) throws SQLException + { try { _res.updateRef(columnName, x); } catch (final SQLException e) { handleException(e); } } @Override - public void updateBlob(int columnIndex, Blob x) throws SQLException - { try { _res.updateBlob(columnIndex, x); } catch (SQLException e) { handleException(e); } } + public void updateBlob(final int columnIndex, final Blob x) throws SQLException + { try { _res.updateBlob(columnIndex, x); } catch (final SQLException e) { handleException(e); } } @Override - public void updateBlob(String columnName, Blob x) throws SQLException - { try { _res.updateBlob(columnName, x); } catch (SQLException e) { handleException(e); } } + public void updateBlob(final String columnName, final Blob x) throws SQLException + { try { _res.updateBlob(columnName, x); } catch (final SQLException e) { handleException(e); } } @Override - public void updateClob(int columnIndex, Clob x) throws SQLException - { try { _res.updateClob(columnIndex, x); } catch (SQLException e) { handleException(e); } } + public void updateClob(final int columnIndex, final Clob x) throws SQLException + { try { _res.updateClob(columnIndex, x); } catch (final SQLException e) { handleException(e); } } @Override - public void updateClob(String columnName, Clob x) throws SQLException - { try { _res.updateClob(columnName, x); } catch (SQLException e) { handleException(e); } } + public void updateClob(final String columnName, final Clob x) throws SQLException + { try { _res.updateClob(columnName, x); } catch (final SQLException e) { handleException(e); } } @Override - public void updateArray(int columnIndex, Array x) throws SQLException - { try { _res.updateArray(columnIndex, x); } catch (SQLException e) { handleException(e); } } + public void updateArray(final int columnIndex, final Array x) throws SQLException + { try { _res.updateArray(columnIndex, x); } catch (final SQLException e) { handleException(e); } } @Override - public void updateArray(String columnName, Array x) throws SQLException - { try { _res.updateArray(columnName, x); } catch (SQLException e) { handleException(e); } } + public void updateArray(final String columnName, final Array x) throws SQLException + { try { _res.updateArray(columnName, x); } catch (final SQLException e) { handleException(e); } } @Override - public boolean isWrapperFor(Class<?> iface) throws SQLException { + public boolean isWrapperFor(final Class<?> iface) throws SQLException { if (iface.isAssignableFrom(getClass())) { return true; } else if (iface.isAssignableFrom(_res.getClass())) { @@ -756,7 +756,7 @@ public final class DelegatingResultSet e } @Override - public <T> T unwrap(Class<T> iface) throws SQLException { + public <T> T unwrap(final Class<T> iface) throws SQLException { if (iface.isAssignableFrom(getClass())) { return iface.cast(this); } else if (iface.isAssignableFrom(_res.getClass())) { @@ -767,43 +767,43 @@ public final class DelegatingResultSet e } @Override - public RowId getRowId(int columnIndex) throws SQLException { + public RowId getRowId(final int columnIndex) throws SQLException { try { return _res.getRowId(columnIndex); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); return null; } } @Override - public RowId getRowId(String columnLabel) throws SQLException { + public RowId getRowId(final String columnLabel) throws SQLException { try { return _res.getRowId(columnLabel); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); return null; } } @Override - public void updateRowId(int columnIndex, RowId value) throws SQLException { + public void updateRowId(final int columnIndex, final RowId value) throws SQLException { try { _res.updateRowId(columnIndex, value); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); } } @Override - public void updateRowId(String columnLabel, RowId value) throws SQLException { + public void updateRowId(final String columnLabel, final RowId value) throws SQLException { try { _res.updateRowId(columnLabel, value); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); } } @@ -813,7 +813,7 @@ public final class DelegatingResultSet e try { return _res.getHoldability(); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); return 0; } @@ -824,458 +824,458 @@ public final class DelegatingResultSet e try { return _res.isClosed(); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); return false; } } @Override - public void updateNString(int columnIndex, String value) throws SQLException { + public void updateNString(final int columnIndex, final String value) throws SQLException { try { _res.updateNString(columnIndex, value); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); } } @Override - public void updateNString(String columnLabel, String value) throws SQLException { + public void updateNString(final String columnLabel, final String value) throws SQLException { try { _res.updateNString(columnLabel, value); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); } } @Override - public void updateNClob(int columnIndex, NClob value) throws SQLException { + public void updateNClob(final int columnIndex, final NClob value) throws SQLException { try { _res.updateNClob(columnIndex, value); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); } } @Override - public void updateNClob(String columnLabel, NClob value) throws SQLException { + public void updateNClob(final String columnLabel, final NClob value) throws SQLException { try { _res.updateNClob(columnLabel, value); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); } } @Override - public NClob getNClob(int columnIndex) throws SQLException { + public NClob getNClob(final int columnIndex) throws SQLException { try { return _res.getNClob(columnIndex); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); return null; } } @Override - public NClob getNClob(String columnLabel) throws SQLException { + public NClob getNClob(final String columnLabel) throws SQLException { try { return _res.getNClob(columnLabel); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); return null; } } @Override - public SQLXML getSQLXML(int columnIndex) throws SQLException { + public SQLXML getSQLXML(final int columnIndex) throws SQLException { try { return _res.getSQLXML(columnIndex); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); return null; } } @Override - public SQLXML getSQLXML(String columnLabel) throws SQLException { + public SQLXML getSQLXML(final String columnLabel) throws SQLException { try { return _res.getSQLXML(columnLabel); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); return null; } } @Override - public void updateSQLXML(int columnIndex, SQLXML value) throws SQLException { + public void updateSQLXML(final int columnIndex, final SQLXML value) throws SQLException { try { _res.updateSQLXML(columnIndex, value); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); } } @Override - public void updateSQLXML(String columnLabel, SQLXML value) throws SQLException { + public void updateSQLXML(final String columnLabel, final SQLXML value) throws SQLException { try { _res.updateSQLXML(columnLabel, value); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); } } @Override - public String getNString(int columnIndex) throws SQLException { + public String getNString(final int columnIndex) throws SQLException { try { return _res.getNString(columnIndex); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); return null; } } @Override - public String getNString(String columnLabel) throws SQLException { + public String getNString(final String columnLabel) throws SQLException { try { return _res.getNString(columnLabel); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); return null; } } @Override - public Reader getNCharacterStream(int columnIndex) throws SQLException { + public Reader getNCharacterStream(final int columnIndex) throws SQLException { try { return _res.getNCharacterStream(columnIndex); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); return null; } } @Override - public Reader getNCharacterStream(String columnLabel) throws SQLException { + public Reader getNCharacterStream(final String columnLabel) throws SQLException { try { return _res.getNCharacterStream(columnLabel); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); return null; } } @Override - public void updateNCharacterStream(int columnIndex, Reader reader, long length) throws SQLException { + public void updateNCharacterStream(final int columnIndex, final Reader reader, final long length) throws SQLException { try { _res.updateNCharacterStream(columnIndex, reader, length); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); } } @Override - public void updateNCharacterStream(String columnLabel, Reader reader, long length) throws SQLException { + public void updateNCharacterStream(final String columnLabel, final Reader reader, final long length) throws SQLException { try { _res.updateNCharacterStream(columnLabel, reader, length); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); } } @Override - public void updateAsciiStream(int columnIndex, InputStream inputStream, long length) throws SQLException { + public void updateAsciiStream(final int columnIndex, final InputStream inputStream, final long length) throws SQLException { try { _res.updateAsciiStream(columnIndex, inputStream, length); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); } } @Override - public void updateBinaryStream(int columnIndex, InputStream inputStream, long length) throws SQLException { + public void updateBinaryStream(final int columnIndex, final InputStream inputStream, final long length) throws SQLException { try { _res.updateBinaryStream(columnIndex, inputStream, length); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); } } @Override - public void updateCharacterStream(int columnIndex, Reader reader, long length) throws SQLException { + public void updateCharacterStream(final int columnIndex, final Reader reader, final long length) throws SQLException { try { _res.updateCharacterStream(columnIndex, reader, length); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); } } @Override - public void updateAsciiStream(String columnLabel, InputStream inputStream, long length) throws SQLException { + public void updateAsciiStream(final String columnLabel, final InputStream inputStream, final long length) throws SQLException { try { _res.updateAsciiStream(columnLabel, inputStream, length); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); } } @Override - public void updateBinaryStream(String columnLabel, InputStream inputStream, long length) throws SQLException { + public void updateBinaryStream(final String columnLabel, final InputStream inputStream, final long length) throws SQLException { try { _res.updateBinaryStream(columnLabel, inputStream, length); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); } } @Override - public void updateCharacterStream(String columnLabel, Reader reader, long length) throws SQLException { + public void updateCharacterStream(final String columnLabel, final Reader reader, final long length) throws SQLException { try { _res.updateCharacterStream(columnLabel, reader, length); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); } } @Override - public void updateBlob(int columnIndex, InputStream inputStream, long length) throws SQLException { + public void updateBlob(final int columnIndex, final InputStream inputStream, final long length) throws SQLException { try { _res.updateBlob(columnIndex, inputStream, length); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); } } @Override - public void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException { + public void updateBlob(final String columnLabel, final InputStream inputStream, final long length) throws SQLException { try { _res.updateBlob(columnLabel, inputStream, length); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); } } @Override - public void updateClob(int columnIndex, Reader reader, long length) throws SQLException { + public void updateClob(final int columnIndex, final Reader reader, final long length) throws SQLException { try { _res.updateClob(columnIndex, reader, length); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); } } @Override - public void updateClob(String columnLabel, Reader reader, long length) throws SQLException { + public void updateClob(final String columnLabel, final Reader reader, final long length) throws SQLException { try { _res.updateClob(columnLabel, reader, length); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); } } @Override - public void updateNClob(int columnIndex, Reader reader, long length) throws SQLException { + public void updateNClob(final int columnIndex, final Reader reader, final long length) throws SQLException { try { _res.updateNClob(columnIndex, reader, length); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); } } @Override - public void updateNClob(String columnLabel, Reader reader, long length) throws SQLException { + public void updateNClob(final String columnLabel, final Reader reader, final long length) throws SQLException { try { _res.updateNClob(columnLabel, reader, length); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); } } @Override - public void updateNCharacterStream(int columnIndex, Reader reader) throws SQLException { + public void updateNCharacterStream(final int columnIndex, final Reader reader) throws SQLException { try { _res.updateNCharacterStream(columnIndex, reader); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); } } @Override - public void updateNCharacterStream(String columnLabel, Reader reader) throws SQLException { + public void updateNCharacterStream(final String columnLabel, final Reader reader) throws SQLException { try { _res.updateNCharacterStream(columnLabel, reader); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); } } @Override - public void updateAsciiStream(int columnIndex, InputStream inputStream) throws SQLException { + public void updateAsciiStream(final int columnIndex, final InputStream inputStream) throws SQLException { try { _res.updateAsciiStream(columnIndex, inputStream); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); } } @Override - public void updateBinaryStream(int columnIndex, InputStream inputStream) throws SQLException { + public void updateBinaryStream(final int columnIndex, final InputStream inputStream) throws SQLException { try { _res.updateBinaryStream(columnIndex, inputStream); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); } } @Override - public void updateCharacterStream(int columnIndex, Reader reader) throws SQLException { + public void updateCharacterStream(final int columnIndex, final Reader reader) throws SQLException { try { _res.updateCharacterStream(columnIndex, reader); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); } } @Override - public void updateAsciiStream(String columnLabel, InputStream inputStream) throws SQLException { + public void updateAsciiStream(final String columnLabel, final InputStream inputStream) throws SQLException { try { _res.updateAsciiStream(columnLabel, inputStream); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); } } @Override - public void updateBinaryStream(String columnLabel, InputStream inputStream) throws SQLException { + public void updateBinaryStream(final String columnLabel, final InputStream inputStream) throws SQLException { try { _res.updateBinaryStream(columnLabel, inputStream); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); } } @Override - public void updateCharacterStream(String columnLabel, Reader reader) throws SQLException { + public void updateCharacterStream(final String columnLabel, final Reader reader) throws SQLException { try { _res.updateCharacterStream(columnLabel, reader); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); } } @Override - public void updateBlob(int columnIndex, InputStream inputStream) throws SQLException { + public void updateBlob(final int columnIndex, final InputStream inputStream) throws SQLException { try { _res.updateBlob(columnIndex, inputStream); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); } } @Override - public void updateBlob(String columnLabel, InputStream inputStream) throws SQLException { + public void updateBlob(final String columnLabel, final InputStream inputStream) throws SQLException { try { _res.updateBlob(columnLabel, inputStream); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); } } @Override - public void updateClob(int columnIndex, Reader reader) throws SQLException { + public void updateClob(final int columnIndex, final Reader reader) throws SQLException { try { _res.updateClob(columnIndex, reader); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); } } @Override - public void updateClob(String columnLabel, Reader reader) throws SQLException { + public void updateClob(final String columnLabel, final Reader reader) throws SQLException { try { _res.updateClob(columnLabel, reader); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); } } @Override - public void updateNClob(int columnIndex, Reader reader) throws SQLException { + public void updateNClob(final int columnIndex, final Reader reader) throws SQLException { try { _res.updateNClob(columnIndex, reader); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); } } @Override - public void updateNClob(String columnLabel, Reader reader) throws SQLException { + public void updateNClob(final String columnLabel, final Reader reader) throws SQLException { try { _res.updateNClob(columnLabel, reader); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); } } @Override - public <T> T getObject(int columnIndex, Class<T> type) throws SQLException { + public <T> T getObject(final int columnIndex, final Class<T> type) throws SQLException { try { return _res.getObject(columnIndex, type); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); return null; } } @Override - public <T> T getObject(String columnLabel, Class<T> type) + public <T> T getObject(final String columnLabel, final Class<T> type) throws SQLException { try { return _res.getObject(columnLabel, type); } - catch (SQLException e) { + catch (final SQLException e) { handleException(e); return null; }
--------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org