@Override
	public IEmailKontakt previous(IEmailKontakt emailKontakt)
			throws NoPreviousEmailKontaktFoundException {
		System.out.println("Display previous contact...");
		Connection con = null;
		try {
			con = initDBConnection();
		} catch (SQLException e) {
			e.printStackTrace();
		}
		ResultSet rs = null;
		PreparedStatement ps = null;
		EmailKontakt ek = new EmailKontakt();
		try {
			ps = con.prepareStatement("SELECT * FROM Kontakt WHERE KontaktId < ? ORDER BY KontaktId DESC LIMIT 1");
			ps.setInt(1, emailKontakt.getId());
			rs = ps.executeQuery();
			if (rs.next()) {
				ek.setId(rs.getInt("KontaktId"));
				ek.setVorname(rs.getString("Vorname"));
				ek.setNachname(rs.getString("Nachname"));
				ek.setEmail(rs.getString("Email"));
			} else {
				throw new NoPreviousEmailKontaktFoundException(
						"Kein weiterer Kontakt gefunden!");
			}
		} catch (SQLException e) {
			e.printStackTrace();
		} finally {
			try {
				ps.close();
				rs.close();
				con.close();
			} catch (SQLException e) {
				e.printStackTrace();
			}
		}
		return ek;
	}