Exemple #1
0
 public void Add(ChirpyException exception)
 {
     Add(exception.Message, exception.FileName, exception.Line, exception.LineNumber, exception.Position, exception.Category);
 }
		public void AddException(string message, string filename, int lineNumber, int position, string line, ErrorCategory category)
		{
			var exception = new ChirpyException(message, filename, lineNumber, position, line, category);

			AddException(exception);
		}
		public void AddException(string message, string filename, ErrorCategory category)
		{
			var exception = new ChirpyException(message, filename, category);

			AddException(exception);
		}
		public void AddException(ChirpyException exception)
		{
			Exceptions.Add(exception);
		}