From: Roland Haeder Date: Wed, 12 Aug 2015 10:35:34 +0000 (+0200) Subject: Added some thrown exceptions X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cf2c3a5fe85d4cc165fcb5c294dc646f0a7de88d;p=jcore.git Added some thrown exceptions Signed-off-by:Roland Häder --- diff --git a/src/org/mxchange/jcore/database/frontend/DatabaseFrontend.java b/src/org/mxchange/jcore/database/frontend/DatabaseFrontend.java index b57d430..2d2e645 100644 --- a/src/org/mxchange/jcore/database/frontend/DatabaseFrontend.java +++ b/src/org/mxchange/jcore/database/frontend/DatabaseFrontend.java @@ -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; }