internal void NotImplemented(string command, string message = "") { if (throwErrorOnNotImplemented) { if (message != "") { message = " - " + message; } throw new NotImplementedException("Command not implemented: " + command + message); } else { string text = "Command not implemented"; if (message != "") { text = text + " - " + message; } Error(command, text); } }