@Override
public OneGetMapRequestItrRlocsReply get(final long l, final TimeUnit timeUnit)
throws InterruptedException, ExecutionException, TimeoutException {
- throw new ExecutionException(new VppCallbackException("oneGetMapRequestItrRlocs", 1, -2));
+ throw new ExecutionException(
+ new VppCallbackException("oneGetMapRequestItrRlocs", "oneGetMapRequestItrRlocs failed",
+ 1, -2));
}
});
}
@Override
public OneAddDelMapRequestItrRlocsReply get(final long l, final TimeUnit timeUnit)
throws InterruptedException, ExecutionException, TimeoutException {
- throw new ExecutionException(new VppCallbackException("oneAddDelMapRequestItrRlocs", 1, -2));
+ throw new ExecutionException(new VppCallbackException("oneAddDelMapRequestItrRlocs",
+ "oneAddDelMapRequestItrRlocs failed", 1, -2));
}
});
}
* @param <T> the result type of returned future
*/
default <T> CompletableFuture<T> failedFuture() {
- return failedFuture(new VppCallbackException("test-call", 1 /* ctxId */, -1 /* retval */));
+ return failedFuture(new VppCallbackException("test-call", "test error msg", 1 /* ctxId */, -1 /* retval */));
}
}