Debian Codegraph @

info/gcl/Signaling.html

raw
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <html>
3 <!-- Created by GNU Texinfo 6.7, http://www.gnu.org/software/texinfo/ -->
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
6 <title>Signaling (ANSI and GNU Common Lisp Document)</title>
7
8 <meta name="description" content="Signaling (ANSI and GNU Common Lisp Document)">
9 <meta name="keywords" content="Signaling (ANSI and GNU Common Lisp Document)">
10 <meta name="resource-type" content="document">
11 <meta name="distribution" content="global">
12 <meta name="Generator" content="makeinfo">
13 <link href="index.html" rel="start" title="Top">
14 <link href="Signaling-and-Handling-Conditions.html" rel="up" title="Signaling and Handling Conditions">
15 <link href="Resignaling-a-Condition.html" rel="next" title="Resignaling a Condition">
16 <link href="Signaling-and-Handling-Conditions.html" rel="prev" title="Signaling and Handling Conditions">
17 <style type="text/css">
18 <!--
19 a.summary-letter {text-decoration: none}
20 blockquote.indentedblock {margin-right: 0em}
21 div.display {margin-left: 3.2em}
22 div.example {margin-left: 3.2em}
23 div.lisp {margin-left: 3.2em}
24 kbd {font-style: oblique}
25 pre.display {font-family: inherit}
26 pre.format {font-family: inherit}
27 pre.menu-comment {font-family: serif}
28 pre.menu-preformatted {font-family: serif}
29 span.nolinebreak {white-space: nowrap}
30 span.roman {font-family: initial; font-weight: normal}
31 span.sansserif {font-family: sans-serif; font-weight: normal}
32 ul.no-bullet {list-style: none}
33 -->
34 </style>
35
36
37 </head>
38
39 <body lang="en">
40 <span id="Signaling"></span><div class="header">
41 <p>
42 Next: <a href="Resignaling-a-Condition.html" accesskey="n" rel="next">Resignaling a Condition</a>, Previous: <a href="Signaling-and-Handling-Conditions.html" accesskey="p" rel="prev">Signaling and Handling Conditions</a>, Up: <a href="Signaling-and-Handling-Conditions.html" accesskey="u" rel="up">Signaling and Handling Conditions</a> &nbsp; </p>
43 </div>
44 <hr>
45 <span id="Signaling-1"></span><h4 class="subsubsection">9.1.4.1 Signaling</h4>
46
47 <p>When a <i>condition</i> is signaled, the most recent
48 applicable <i>active</i> <i>handler</i> is invoked.
49 Sometimes a handler will decline by simply returning
50 without a transfer of control.
51 In such cases, the next most recent applicable active handler is
52 invoked.
53 </p>
54 <p>If there are no applicable handlers for a <i>condition</i> that
55 has been signaled, or if all applicable handlers decline, the
56 <i>condition</i> is unhandled.
57 </p>
58 <p>The functions <b>cerror</b> and <b>error</b> invoke the
59 interactive <i>condition</i> handler (the debugger) rather than
60 return if the <i>condition</i> being signaled, regardless of
61 its <i>type</i>, is unhandled. In contrast, <b>signal</b>
62 returns <b>nil</b> if the <i>condition</i> being signaled,
63 regardless of its <i>type</i>, is unhandled.
64 </p>
65 <p>The <i>variable</i> <b>*break-on-signals*</b> can be used to cause the
66 debugger to be entered before the signaling process begins.
67 </p>
68 <p>Figure 9&ndash;5 shows <i>defined names</i> relating to
69 the <i>signaling</i> of <i>conditions</i>.
70 </p>
71 <div class="format">
72 <pre class="format"> *break-on-signals* error warn <!-- /@w -->
73 cerror signal <!-- /@w -->
74
75 Figure 9&ndash;5: Defined names relating to signaling conditions.<!-- /@w -->
76
77 </pre></div>
78
79
80
81
82 </body>
83 </html>