ThrowPromptNotInteractive(string promptMessage) { string message = StringUtil.Format(HostInterfaceExceptionsStrings.HostFunctionPromptNotImplemented, promptMessage); HostException e = new HostException( message, null, "HostFunctionNotImplemented", ErrorCategory.NotImplemented); throw e; }
ThrowNotInteractive() { // It might be interesting to do something like // GetCallingMethodAndParameters here and display the name, // but I don't want to put that in mainline non-trace code. string message = HostInterfaceExceptionsStrings.HostFunctionNotImplemented; HostException e = new HostException( message, null, "HostFunctionNotImplemented", ErrorCategory.NotImplemented); throw e; }