CoapRequestFuture

- Fixed documentation
This commit is contained in:
Tristan B. Velloza Kildaire 2023-09-25 14:48:48 +02:00
parent 7e475579df
commit ecd85e195e

View File

@ -379,7 +379,7 @@ public class CoapRequestFuture
* *
* Returns: the response as a `CoapPacket` * Returns: the response as a `CoapPacket`
* Throws: * Throws:
* CoapException on cancelled request * CoapClientException on cancelled request
*/ */
public CoapPacket get() public CoapPacket get()
{ {
@ -412,9 +412,9 @@ public class CoapRequestFuture
* *
* Returns: the response as a `CoapPacket` * Returns: the response as a `CoapPacket`
* Throws: * Throws:
* RequestTimeoutException = on the * RequestTimeoutException on the
* future request timing out * future request timing out
* CoapClientException = on cancellation * CoapClientException on cancellation
* of the request * of the request
*/ */
public CoapPacket get(Duration timeout) public CoapPacket get(Duration timeout)