public static void Throw(string message, string issueId) { var ex = new BriefFiniteElementNetException(message); ex.IssueId = issueId; throw ex; }
/// <summary> /// Throws the specified message. /// </summary> /// <param name="message">The message.</param> /// <param name="issueId">The issue identifier.</param> public static void Throw(string issueId) { var msg = string.Format(CultureInfo.CurrentCulture, "An error of number {0} is occurred.", issueId); var ex = new BriefFiniteElementNetException(msg); ex.IssueId = issueId; throw ex; }