From f45844ef656b37abb1ef01560702f2993e9d3318 Mon Sep 17 00:00:00 2001 From: xjoao Date: Fri, 29 May 2020 22:29:14 -0400 Subject: [PATCH] updated exception --- src/main/java/com/eu/habbo/messages/ServerMessage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/eu/habbo/messages/ServerMessage.java b/src/main/java/com/eu/habbo/messages/ServerMessage.java index 8754ce5c..91f52457 100644 --- a/src/main/java/com/eu/habbo/messages/ServerMessage.java +++ b/src/main/java/com/eu/habbo/messages/ServerMessage.java @@ -42,7 +42,7 @@ public class ServerMessage { try { this.stream.writeInt(0); this.stream.writeShort(id); - } catch (Exception e) { + } catch (IOException e) { throw new ServerMessageException(e); }