[前][次][番号順一覧][スレッド一覧]

ruby-changes:31559

From: nobu <ko1@a...>
Date: Mon, 11 Nov 2013 00:18:13 +0900 (JST)
Subject: [ruby-changes:31559] nobu:r43638 (trunk): Exception#cause

nobu	2013-11-11 00:18:07 +0900 (Mon, 11 Nov 2013)

  New Revision: 43638

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43638

  Log:
    Exception#cause
    
    * NEWS (Core classes updates): add Exception#cause.

  Modified files:
    trunk/NEWS
Index: NEWS
===================================================================
--- NEWS	(revision 43637)
+++ NEWS	(revision 43638)
@@ -43,6 +43,11 @@ with all sufficient information, see the https://github.com/ruby/ruby/blob/trunk/NEWS#L43
   * New methods
     * Enumerable#to_h converts a list of key-value pairs into a Hash.
 
+* Exception
+  * New methods
+    * Exception#cause provides the previous exception which has been caught
+      at where raising the new exception.
+
 * GC
   * added environment variable:
     * RUBY_HEAP_SLOTS_GROWTH_FACTOR: growth rate of the heap.

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]