mirror of
https://github.com/Qortal/qortal.git
synced 2025-06-07 00:36:59 +00:00
Fixed wording in marshaller exceptions.
This commit is contained in:
parent
c310a7c5e8
commit
c1ffe557e1
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user