HONEYCOMB-67 Introduce exception handling into JVPP
[vpp.git] / vpp-api / java / jvpp / org / openvpp / jvpp / future / FutureJVppInvoker.java
index 8dab7f5..9219e35 100644 (file)
 package org.openvpp.jvpp.future;
 
 
-import java.util.concurrent.CompletionStage;
 import org.openvpp.jvpp.dto.JVppReply;
 import org.openvpp.jvpp.dto.JVppRequest;
 
+import java.util.concurrent.CompletionStage;
+
 /**
 * Future facade on top of JVpp
 */
@@ -30,6 +31,7 @@ public interface FutureJVppInvoker extends AutoCloseable {
      * Invoke asynchronous operation on VPP
      *
      * @return CompletionStage with future result of an async VPP call
+     * @throws org.openvpp.jvpp.VppInvocationException when send request failed with details
      */
     <REQ extends JVppRequest, REPLY extends JVppReply<REQ>> CompletionStage<REPLY> send(REQ req);