InvalidInvocationException(msg: String)
Create a new InvalidInvocationException with the supplied error message.
InvalidInvocationException
msg - the detail message
msg