Skip to content

Commit 3655a26

Browse files
remove throws DataAccessException which is a runtime exception
1 parent 789ebeb commit 3655a26

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

sqldev/src/main/java/org/utplsql/sqldev/dal/RealtimeReporterDao.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
import javax.xml.parsers.DocumentBuilderFactory;
3232
import javax.xml.parsers.ParserConfigurationException;
3333

34-
import org.springframework.dao.DataAccessException;
3534
import org.springframework.jdbc.core.CallableStatementCallback;
3635
import org.springframework.jdbc.core.JdbcTemplate;
3736
import org.springframework.jdbc.datasource.SingleConnectionDataSource;
@@ -124,7 +123,7 @@ public void consumeReport(final String reporterId, final RealtimeReporterEventCo
124123
final String plsql = sb.toString();
125124
jdbcTemplate.<Void>execute(plsql, new CallableStatementCallback<Void>() {
126125
@Override
127-
public Void doInCallableStatement(final CallableStatement cs) throws SQLException, DataAccessException {
126+
public Void doInCallableStatement(final CallableStatement cs) throws SQLException {
128127
cs.setString(1, reporterId);
129128
cs.registerOutParameter(2, OracleTypes.CURSOR);
130129
cs.execute();

0 commit comments

Comments
 (0)