Commit 3ba795db authored by NewbieOrange's avatar NewbieOrange
Browse files

Config#getServiceFactory now rethrow any exception instead of returning null

parent 9565ed31
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -21,9 +21,8 @@ public final class Config {
            return (ServiceFactory) Class.forName(properties.getProperty("serviceFactory"))
                    .getDeclaredConstructor().newInstance();
        } catch (Exception e) {
            e.printStackTrace();
            throw new RuntimeException(e);
        }
        return null;
    }

    public static String getJdbcUrl() {