Browse Source

Fixed wording in marshaller exceptions.

qdn-on-chain-data
CalDescent 2 years ago
parent
commit
c1ffe557e1
  1. 4
      src/main/java/org/qortal/api/ApiRequest.java

4
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);
}
}

Loading…
Cancel
Save