Fixed wording in marshaller exceptions.

This commit is contained in:
CalDescent 2023-02-24 13:42:59 +00:00
parent c310a7c5e8
commit c1ffe557e1

View File

@ -122,7 +122,7 @@ public class ApiRequest {
return marshaller; return marshaller;
} catch (JAXBException e) { } 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 { try {
marshaller.marshal(object, writer); marshaller.marshal(object, writer);
} catch (JAXBException e) { } 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);
} }
} }