JasonLeyba: bot.Error doesn't need to extend goog.debug.Error, it can extend Error directly. Also, correctly generate a stacktrace with bot.Error's message and custom name so that the stack prints out correctly.
JasonLeyba: bot.Error doesn't need to extend goog.debug.Error, it can extend Error directly.
Also, correctly generate a stacktrace with bot.Error's message and custom name so that the stack prints out correctly.


git-svn-id: aa1aa1384423cb28c2b1e29129bb3a91de1d9196@15156 07704840-8298-11de-bf8c-fd130f914ac9

yumingjuan/selenium,jmt4/Selenium2,yumingjuan/selenium,jmt4/Selenium2,jmt4/Selenium2,jmt4/Selenium2,yumingjuan/selenium,yumingjuan/selenium,yumingjuan/selenium,jmt4/Selenium2,yumingjuan/selenium,jmt4/Selenium2,yumingjuan/selenium,jmt4/Selenium2,jmt4/Selenium2,jmt4/Selenium2,yumingjuan/selenium,yumingjuan/selenium