File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
doma-core/src/main/java/org/seasar/doma/jdbc Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1717 * <p>It is assumed that this object is used only in simple applications. In production environment,
1818 * you should use the {@link DataSource} implementation that provides connection pooling.
1919 */
20+ @ SuppressWarnings ("RedundantThrows" )
2021public class SimpleDataSource implements DataSource {
2122
2223 /**
@@ -148,15 +149,15 @@ protected Connection getConnectionInternal(Properties info) throws SQLException
148149 }
149150
150151 @ Override
151- public PrintWriter getLogWriter () {
152+ public PrintWriter getLogWriter () throws SQLException {
152153 return null ;
153154 }
154155
155156 @ Override
156- public void setLogWriter (PrintWriter out ) {}
157+ public void setLogWriter (PrintWriter out ) throws SQLException {}
157158
158159 @ Override
159- public boolean isWrapperFor (Class <?> iface ) {
160+ public boolean isWrapperFor (Class <?> iface ) throws SQLException {
160161 return iface != null && iface .isAssignableFrom (getClass ());
161162 }
162163
You can’t perform that action at this time.
0 commit comments