mirror of
https://github.com/deavmi/doap
synced 2024-07-04 15:30:09 +02:00
RequestTimeoutException
- Made publically accessible - Made constructor package-level accessible
This commit is contained in:
parent
82ba08b472
commit
f78993ad22
|
@ -14,7 +14,7 @@ public class CoapClientException : CoapException
|
||||||
import doap.client.request : CoapRequestFuture;
|
import doap.client.request : CoapRequestFuture;
|
||||||
import std.conv : to;
|
import std.conv : to;
|
||||||
|
|
||||||
package final class RequestTimeoutException : CoapClientException
|
public final class RequestTimeoutException : CoapClientException
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* The future we timed out on
|
* The future we timed out on
|
||||||
|
@ -35,7 +35,7 @@ package final class RequestTimeoutException : CoapClientException
|
||||||
* timeout = the time duration timed out
|
* timeout = the time duration timed out
|
||||||
* on
|
* on
|
||||||
*/
|
*/
|
||||||
this(CoapRequestFuture future, Duration timeout)
|
package this(CoapRequestFuture future, Duration timeout)
|
||||||
{
|
{
|
||||||
super("Timed out whilst waiting for "~to!(string)(future)~" after "~to!(string)(timeout));
|
super("Timed out whilst waiting for "~to!(string)(future)~" after "~to!(string)(timeout));
|
||||||
this.future = future;
|
this.future = future;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user