From 0344bece9ff37e6e707c697200a5b54516cb5e9c Mon Sep 17 00:00:00 2001 From: akr Date: Mon, 24 May 2010 14:05:33 +0000 Subject: * 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 --- ChangeLog | 6 +++++- error.c | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index adbb39c078..3db237093d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Mon May 24 23:04:41 2010 Tanaka Akira + + * error.c: fix wrong exception class name in rdoc. + Mon May 24 19:00:34 2010 Nobuyoshi Nakada * parse.y (warn_balanced, parser_yylex): no warnings after closing @@ -918,7 +922,7 @@ Sat May 1 00:14:47 2010 Nobuyoshi Nakada Fri Apr 30 22:46:27 2010 Marc-Andre Lafortune - * math.c: Math::DomainError < StandardException [ruby-core:29855] + * math.c: Math::DomainError < StandardError [ruby-core:29855] Fri Apr 30 21:40:36 2010 Nobuyoshi Nakada diff --git a/error.c b/error.c index 05e6b08f8d..addf8b63f2 100644 --- a/error.c +++ b/error.c @@ -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 - * Exception, or more typically StandardException + * Exception, or more typically StandardError * to provide custom classes and add additional information. */ -- cgit v1.2.3