]> git.mxchange.org Git - jcore.git/commitdiff
Added some thrown exceptions
authorRoland Haeder <roland@mxchange.org>
Wed, 12 Aug 2015 10:35:34 +0000 (12:35 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 12 Aug 2015 10:35:34 +0000 (12:35 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

src/org/mxchange/jcore/database/frontend/DatabaseFrontend.java

index b57d43079d563dae60e456c180b119b58b4c5e87..2d2e645831767bb563771145324ba126f38f8cef 100644 (file)
@@ -16,6 +16,8 @@
  */
 package org.mxchange.jcore.database.frontend;
 
+import java.io.IOException;
+import java.sql.SQLException;
 import org.mxchange.jcore.FrameworkInterface;
 import org.mxchange.jcore.database.storage.Storeable;
 import org.mxchange.jcore.exceptions.BadTokenException;
@@ -45,6 +47,8 @@ public interface DatabaseFrontend extends FrameworkInterface {
 
        /**
         * Shuts down the database layer
+        * @throws java.sql.SQLException If any SQL error occurs
+        * @throws java.io.IOException If any IO error occurs
         */
-       public void doShutdown ();
+       public void doShutdown () throws SQLException, IOException;
 }