- // FIXME : find a correct Error from specification
- throw new IllegalStateException("RPC " + rpc + " does'n need input value!");
+ throw new RestconfDocumentedException("RPC " + rpc + " does not take any input value.",
+ ErrorType.RPC, ErrorTag.INVALID_VALUE);