File: exception

package info (click to toggle)
libdb2-ruby 0.5.4-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,352 kB
  • ctags: 2,743
  • sloc: ansic: 11,156; ruby: 6,199; cpp: 6,064; makefile: 86; sh: 31
file content (18 lines) | stat: -rw-r--r-- 707 bytes parent folder | download | duplicates (18)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<entry index='e'>
<name>Exception</name>
<reference>thread</reference>
<reference>ruby</reference>
<content>
    The one occurs in exceptional situation.
    when it occurs,
    unless it is caught explicitly by '((|rescue|))' paragraph of '((|begin|))',
    the call hierarchy is traced back
    and the execution of program (((Thread))) is interrupted.
    The ((Ruby)) program should thank exception,
    because it is able to ((end)) without checking
    an exceptional situation one by one, in almost all of the case.
    The information on the place where the exception is generated
    is stored in ((|$@|)),
    and the information on the exception itself is stored in ((|$!|)).
</content>
</entry>