Error Messages and Error Messages

From OpenPetra Wiki
Jump to navigation Jump to search



               AVerifications.Add(new TVerificationResult("[error during posting]", e.Message, TResultSeverity.Resv_Critical));



               AVerifications.Add(new TVerificationResult("Exception in GL.Posting.cs [" + e.Source +
                                                          "]" + e.ToString(),
                                                          "Message: " + e.Message, 
                                                          TResultSeverity.Resv_Critical));


               AVerifications.Add(new TVerificationResult("Exception in GL.Posting.cs " + Environment.NewLine
                                                          + "[" + e.Source +
                                                          "]" + Environment.NewLine + e.ToString(),
                                                          "Message: " + e.Message, 
                                                          TResultSeverity.Resv_Critical));