From c1ffe557e1871797d735c869204d893ba31cda88 Mon Sep 17 00:00:00 2001 From: CalDescent Date: Fri, 24 Feb 2023 13:42:59 +0000 Subject: [PATCH] Fixed wording in marshaller exceptions. --- src/main/java/org/qortal/api/ApiRequest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/qortal/api/ApiRequest.java b/src/main/java/org/qortal/api/ApiRequest.java index b9fbf1dc..a51a117e 100644 --- a/src/main/java/org/qortal/api/ApiRequest.java +++ b/src/main/java/org/qortal/api/ApiRequest.java @@ -122,7 +122,7 @@ public class ApiRequest { return marshaller; } catch (JAXBException e) { - throw new RuntimeException("Unable to create websocket marshaller", e); + throw new RuntimeException("Unable to create API marshaller", e); } } @@ -132,7 +132,7 @@ public class ApiRequest { try { marshaller.marshal(object, writer); } catch (JAXBException e) { - throw new IOException("Unable to create marshall object for websocket", e); + throw new IOException("Unable to create marshall object for API", e); } }