Debian Codegraph @

info/gcl/serious_002dcondition.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>serious-condition (ANSI and GNU Common Lisp Document)</title>
7
8 <meta name="description" content="serious-condition (ANSI and GNU Common Lisp Document)">
9 <meta name="keywords" content="serious-condition (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="Conditions-Dictionary.html" rel="up" title="Conditions Dictionary">
15 <link href="error-_0028Condition-Type_0029.html" rel="next" title="error (Condition Type)">
16 <link href="style_002dwarning.html" rel="prev" title="style-warning">
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="serious_002dcondition"></span><div class="header">
41 <p>
42 Next: <a href="error-_0028Condition-Type_0029.html" accesskey="n" rel="next">error (Condition Type)</a>, Previous: <a href="style_002dwarning.html" accesskey="p" rel="prev">style-warning</a>, Up: <a href="Conditions-Dictionary.html" accesskey="u" rel="up">Conditions Dictionary</a> &nbsp; </p>
43 </div>
44 <hr>
45 <span id="serious_002dcondition-_005bCondition-Type_005d"></span><h4 class="subsection">9.2.4 serious-condition [Condition Type]</h4>
46
47 <span id="Class-Precedence-List_003a_003a-22"></span><h4 class="subsubheading">Class Precedence List::</h4>
48 <p><b>serious-condition</b>,
49 <b>condition</b>,
50 <b>t</b>
51 </p>
52 <span id="Description_003a_003a-174"></span><h4 class="subsubheading">Description::</h4>
53
54 <p>All <i>conditions</i> serious enough to require interactive intervention
55 if not handled should inherit from the <i>type</i> <b>serious-condition</b>.
56 This condition type is provided
57 primarily so that it may be included as
58 a <i>superclass</i> of other <i>condition</i> <i>types</i>;
59 it is not intended to be signaled directly.
60 </p>
61 <span id="Notes_003a_003a-95"></span><h4 class="subsubheading">Notes::</h4>
62
63 <p>Signaling a <i>serious condition</i> does not itself force entry into
64 the debugger. However, except in the unusual situation where the
65 programmer can assure that no harm will come from failing to
66 <i>handle</i> a <i>serious condition</i>, such a <i>condition</i> is
67 usually signaled with <b>error</b> rather than <b>signal</b> in
68 order to assure that the program does not continue without
69 <i>handling</i> the <i>condition</i>. (And conversely, it is
70 conventional to use <b>signal</b> rather than <b>error</b> to signal
71 conditions which are not <i>serious conditions</i>, since normally the
72 failure to handle a non-serious condition is not reason enough for the
73 debugger to be entered.)
74 </p>
75
76
77
78 </body>
79 </html>