Do not allow wildcards in Action.invoke()
[mdsal.git] / binding / yang-binding / src / main / java / org / opendaylight / yangtools / yang / binding / Action.java
index 4950c085a0195359596b48e9eb605afe23029716..7e809b4d08e349b0933b32e91e2ec896bd5268aa 100644 (file)
@@ -28,6 +28,7 @@ public interface Action<P extends InstanceIdentifier<?>, I extends RpcInput, O e
      * @param input Input argument
      * @return Future result of invocation
      * @throws NullPointerException if any of the arguments are null
+     * @throws IllegalArgumentException if {@code path} is {@link InstanceIdentifier#isWildcarded()}
      */
     @CheckReturnValue
     @NonNull ListenableFuture<@NonNull RpcResult<@NonNull O>> invoke(@NonNull P path, @NonNull I input);