public DataBase() throws ClassNotFoundException, SQLException {
		// register the driver
		try {
			Class.forName(sDriverName);
		} catch (Exception e) {
			// connection failed.
			System.out.println("DriverName: " + sDriverName
					+ " was not available");
			System.err.println(e);
			throw e;
		}

		// create a database connection
		conn = DriverManager.getConnection(sDbUrl);
		try {
			stmt = conn.createStatement();
		} catch (Exception e) {
			try {
				conn.close();
			} catch (Exception ignore) {
			}
			conn = null;
		}

		stmt.setQueryTimeout(iTimeout);
	}