static void Error(string format, params object[] args) { throw new ApplicationException(string.Format(format, args)); }