From cf2c3a5fe85d4cc165fcb5c294dc646f0a7de88d Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Wed, 12 Aug 2015 12:35:34 +0200 Subject: [PATCH] =?utf8?q?Added=20some=20thrown=20exceptions=20Signed-off-?= =?utf8?q?by:Roland=20H=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../mxchange/jcore/database/frontend/DatabaseFrontend.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; } -- 2.39.5