From 11a8b925cffae24f5b43570bf593044e7e71e2de Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 19 Mar 2009 21:20:14 +0100 Subject: [PATCH] =?utf8?q?Don=E2=80=99t=20forget=20to=20throw=20the=20FCP?= =?utf8?q?=20exception.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/net/pterodactylus/fcp/highlevel/FcpClient.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/net/pterodactylus/fcp/highlevel/FcpClient.java b/src/net/pterodactylus/fcp/highlevel/FcpClient.java index fe322e3..f9445c9 100644 --- a/src/net/pterodactylus/fcp/highlevel/FcpClient.java +++ b/src/net/pterodactylus/fcp/highlevel/FcpClient.java @@ -224,6 +224,9 @@ public class FcpClient { } finally { fcpConnection.removeFcpListener(fcpAdapter); } + if (fcpListener.getFcpException() != null) { + throw fcpListener.getFcpException(); + } return peers; } -- 2.7.4