Esempio n. 1
0
 public virtual void RuntimeError(TemplateMessage msg)
 {
     if (msg.Error != ErrorType.NO_SUCH_PROPERTY)
     { // ignore these
         Console.Error.WriteLine(msg);
     }
 }
Esempio n. 2
0
 public virtual void RuntimeError(TemplateMessage msg)
 {
     if (msg.Error != ErrorType.NO_SUCH_PROPERTY)
     {
         System.Diagnostics.Debug.WriteLine(msg);
     }
 }
Esempio n. 3
0
 public virtual void RuntimeError(TemplateMessage msg)
 {
     // ignore these
     if (msg.Error != ErrorType.NO_SUCH_PROPERTY)
     {
         errors.Add(msg);
     }
 }
Esempio n. 4
0
 public void RuntimeError(TemplateMessage msg)
 {
     Errors.Add(new ResultError(msg));
 }
Esempio n. 5
0
 public void InternalError(TemplateMessage msg)
 {
     Log.Error(msg.ToString());
 }
 public virtual void InternalError(TemplateMessage msg)
 {
     _writer.WriteLine(msg);
     // throw new Error("internal error", msg.cause);
 }
 public virtual void RuntimeError(TemplateMessage msg)
 {
     if (msg.Error != ErrorType.NO_SUCH_PROPERTY)
     {
         // ignore these
         _writer.WriteLine(msg);
     }
 }
 public void InternalError(TemplateMessage msg)
 {
    if (Logger.IsErrorEnabled)
       Logger.ErrorFormat("InternalError: " + msg, msg.Cause);
 }
Esempio n. 9
0
 public virtual void InternalError(TemplateMessage msg)
 {
     Console.Error.WriteLine(msg);
     // throw new Error("internal error", msg.cause);
 }
 public virtual void IOError(TemplateMessage msg)
 {
     _writer.WriteLine(msg);
 }
Esempio n. 11
0
 public virtual void CompiletimeError(TemplateMessage msg)
 {
     errors.Add(msg);
 }
Esempio n. 12
0
 public virtual void RuntimeError(TemplateMessage msg)
 {
     // ignore these
     if (msg.Error != ErrorType.NO_SUCH_PROPERTY)
         errors.Add(msg);
 }
 public virtual void CompiletimeError(TemplateMessage msg)
 {
     _writer.WriteLine(msg);
 }
Esempio n. 14
0
 public virtual void IOError(TemplateMessage msg)
 {
     errors.Add(msg);
 }
Esempio n. 15
0
 public virtual void CompiletimeError(TemplateMessage msg)
 {
     errors.Add(msg);
 }
Esempio n. 16
0
 public void RuntimeError(TemplateMessage msg)
 {
     this.templateMessages.Add(msg);
 }
Esempio n. 17
0
 public void IOError(TemplateMessage msg)
 {
     this.templateMessages.Add(msg);
 }
Esempio n. 18
0
 public virtual void InternalError(TemplateMessage msg)
 {
     errors.Add(msg);
 }
Esempio n. 19
0
 public void IOError(TemplateMessage msg)
 {
     this.log.Error(msg, msg.ToString());
 }
Esempio n. 20
0
 public virtual void CompiletimeError(TemplateMessage msg)
 {
     Console.Error.WriteLine(msg);
 }
Esempio n. 21
0
 public virtual void CompiletimeError(TemplateMessage msg)
 {
     Console.Error.WriteLine(msg);
 }
 public void RuntimeError(TemplateMessage msg)
 {
    if (Logger.IsErrorEnabled)
       Logger.ErrorFormat("RuntimeError: " + msg, msg.Cause);
 }
Esempio n. 23
0
 public override void RuntimeError(TemplateMessage msg)
 {
     ErrorList.Add(msg);
 }
Esempio n. 24
0
 public virtual void IOError(TemplateMessage msg)
 {
     Console.Error.WriteLine(msg);
 }
Esempio n. 25
0
 public virtual void IOError(TemplateMessage msg)
 {
     Console.Error.WriteLine(msg);
 }
Esempio n. 26
0
 public virtual void CompiletimeError(TemplateMessage msg)
 {
     System.Diagnostics.Debug.WriteLine(msg);
 }
 public virtual void CompiletimeError(TemplateMessage msg)
 {
     _writer.WriteLine(msg);
 }
Esempio n. 28
0
 public virtual void InternalError(TemplateMessage msg)
 {
     System.Diagnostics.Debug.WriteLine(msg);
 }
 public virtual void IOError(TemplateMessage msg)
 {
     _writer.WriteLine(msg);
 }
Esempio n. 30
0
 public virtual void IOError(TemplateMessage msg)
 {
     System.Diagnostics.Debug.WriteLine(msg);
 }
Esempio n. 31
0
 public void InternalError(TemplateMessage msg)
 {
     Errors.Add(new ResultError(msg));
 }
Esempio n. 32
0
 public virtual void RuntimeError(TemplateMessage msg)
 {
     if (msg.Error != ErrorType.NO_SUCH_PROPERTY)
         System.Diagnostics.Debug.WriteLine(msg);
 }
Esempio n. 33
0
 public ResultError(TemplateMessage msg)
 {
     _details = msg.ToString();
     var lines = _details.Replace("context [anonymous] 1:1 ", "").Split('\n');
     const string searchString = "System.Exception: ";
     if (lines.Any() && lines[0].Contains(searchString))
         _text = lines[0].Substring(lines[0].IndexOf(searchString) + searchString.Length);
     else if (lines.Any())
         _text = lines.FirstOrDefault();
     else
         _text = _details;
 }
Esempio n. 34
0
 public void CompiletimeError(TemplateMessage msg)
 {
     this.log.Error(msg, msg.ToString());
 }
Esempio n. 35
0
 public void RuntimeError(TemplateMessage msg)
 {
     Log.Error(msg.ToString());
 }
Esempio n. 36
0
 public void CompiletimeError(TemplateMessage msg)
 {
     this.templateMessages.Add(msg);
 }