* error.c: fix wrong exception class name in rdoc.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2010-05-24 14:05:33 +00:00
parent c3ebf85a81
commit 0344bece9f
2 changed files with 7 additions and 3 deletions

View file

@ -1231,7 +1231,7 @@ syserr_eqq(VALUE self, VALUE exc)
* ScriptError is the superclass for errors raised when a script
* can not be executed because of a +LoadError+,
* +NotImplementedError+ or a +SyntaxError+. Note these type of
* +ScriptErrors+ are not +StandardExceptions+ and will not be
* +ScriptErrors+ are not +StandardError+ and will not be
* rescued unless it is specified explicitly (or its ancestor
* +Exception+).
*/
@ -1381,7 +1381,7 @@ syserr_eqq(VALUE self, VALUE exc)
* objects carry information about the exception---its type (the
* exception's class name), an optional descriptive string, and
* optional traceback information. Programs may subclass
* <code>Exception</code>, or more typically <code>StandardException</code>
* <code>Exception</code>, or more typically <code>StandardError</code>
* to provide custom classes and add additional information.
*/