public virtual EcmaScriptRuntimeException RuntimeError(string message,
     string sourceName, 
     int line,
     string lineSource, 
     int lineOffset)
 {
     EcmaScriptException exception = new EcmaScriptRuntimeException(string.Format("EcmaScriptRuntimeException :: {0}", message),
                       sourceName,
                       line,
                       lineSource == null ? string.Empty : lineSource.Trim(),
                       lineOffset);
     exception.Source = "EcmaScriptRuntime";
     throw exception;
 }
 public virtual void Error (string message, 
     string sourceName, 
     int line,
     string lineSource, 
     int lineOffset)
 {
     EcmaScriptException exception = new EcmaScriptRuntimeException(message,
         sourceName,
         line,
         lineSource == null ? string.Empty : lineSource.Trim(),
         lineOffset);
     exception.Source = "EcmaScript";
     throw exception;
 }