forked from jruby/jruby
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add doco about exception prep in constructors
These methods that bottom out in `newRaiseException` or `toThrowable` prepare the exception for an immediate throw, which means: * The backtrace will be populated * The cause will be set to the currently in-flight exception * The current thread's $! error info will be set to this exception As such it should not be used to create a "simple" Ruby Exception object for throwing on a different thread or at a later time.
- Loading branch information
Showing
2 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters