code: public String getMessage()
      {
          String trace;
          if ( node != null )
              trace = " : at Line: "+ node.getLineNumber()
                  + " : in file: "+ node.getSourceFile()
                  + " : "+node.getText();
          else
              // Users should not normally see this.
              trace = ": <at unknown location>";
  
          if ( callstack != null )
              trace = trace +"\n" + getScriptStackTrace();
  
          return getRawMessage() + trace;
      }
docs: Print the error with line number and stack trace.