public void Command(string query) { try { CheckQueryRight(); Context.Command(query); } catch (Exception ex) { Logger.Instance.Log(ex); throw; } }