invalid Argument With Cause
Creates an instance of StatusRuntimeException
of status Status.INVALID_ARGUMENT
with the passed cause.
Resulting StatusRuntimeException
will contain the passed MessageError transformed to the metadata.
Return
the constructed StatusRuntimeException
Parameters
cause
the exception cause