O que há de errado com o meu metodo de exclusao do contatoDao
public void excluir (Contato contato){
try {
Connection con = Conexao.getConexao();
try {
String sqlDelete = "delete from contato where id = ?";
PreparedStatement pstmt = con.prepareStatement(sqlDelete);
pstmt.setInt(1, contato.getId());
pstmt.close();
} finally {
con.close();
}
} catch (SQLException e) {
e.printStackTrace();
}
}