1
0
Fork 0
cl-sites/novaspec.org/cl/t_serious-condition.html
2025-02-05 18:52:26 +01:00

201 lines
No EOL
4.8 KiB
HTML

<!DOCTYPE HTML>
<HTML LANG="en-us"
><HEAD
><TITLE
>serious-condition | Common Lisp Nova Spec</TITLE
><META CHARSET="US-ASCII"
><LINK REL="canonical" HREF="t_serious-condition.html"
><LINK REL="next" HREF="t_error.html" TYPE="text/html" TITLE="error"
><LINK REL="prev" HREF="t_style-warning.html" TYPE="text/html" TITLE="style-warning"
><LINK REL="up" HREF="9_2_Conditions_Dictionary.html" TYPE="text/html" TITLE="9.2 Conditions Dictionary"
><LINK REL="start" HREF="index.html" TYPE="text/html" TITLE="Common Lisp Nova Spec"
><META NAME="VIEWPORT" CONTENT="width=device-width, initial-scale=1.0"
><LINK REL="STYLESHEET" HREF="dpans.css%3F3909942064.css"
><SCRIPT SRC="dpans.js%3F3909942064"
></SCRIPT
><SCRIPT SRC="apropos.js%3F3909942064"
></SCRIPT
></HEAD
><BODY
><DIV
><DIV CLASS="topnav"
><DIV CLASS="breadcrumb"
><SPAN CLASS="breadcrumb-item"
><A HREF="index.html"
>Common Lisp Nova Spec</A
></SPAN
> <SPAN CLASS="breadcrumb-item"
>&#8594; <A HREF="9_Conditions.html"
>9. Conditions</A
></SPAN
> <SPAN CLASS="breadcrumb-item"
>&#8594; <A HREF="9_2_Conditions_Dictionary.html"
>9.2 Conditions Dictionary</A
></SPAN
> <SPAN CLASS="breadcrumb-item"
>&#8594; <A HREF="t_serious-condition.html"
>serious-condition</A
></SPAN
></DIV
><DIV CLASS="apropos"
><DIV CLASS="apropos-io"
><A HREF="t_style-warning.html" CLASS="prev"
>&#8592;</A
><SPAN ID="apropos-label"
>Apropos </SPAN
><INPUT ID="apropos" AUTOFOCUS="AUTOFOCUS" PLACEHOLDER="Type here to search" ONINPUT="aproposInput(this);" ONKEYUP="aproposKeyup(event);" ONCHANGE="aproposChange(this);" ONFOCUS="aproposFocus(this);" ONFOCUSOUT="aproposFocusout(this);"
><A HREF="t_error.html" CLASS="next"
>&#8594;</A
></DIV
><DIV ID="apropos-res"
></DIV
></DIV
></DIV
><DIV CLASS="matter"
><DIV CLASS="com"
><DIV CLASS="begincom"
><HR
><TABLE WIDTH="100%" CELLSPACING="0" CELLPADDING="0"
><TR
><TD ALIGN="LEFT" VALIGN="BASELINE" WIDTH="100%" CLASS="name"
><SPAN CLASS="idx" DATA-KIND="idxref" DATA-TERM="serious-condition"
></SPAN
><B
>serious-condition</B
></TD
><TD ALIGN="RIGHT" VALIGN="BASELINE" WIDTH="0" NOWRAP="NOWRAP" CLASS="ftype"
><I
>Condition</I
> <I
>Type</I
></TD
></TR
></TABLE
><HR
></DIV
><UL CLASS="subtoc"
></UL
><DL
><DT
><B
>Class Precedence List</B
></DT
><DD
><P CLASS="j"
><A HREF="t_serious-condition.html" CLASS="typeref"
><B
>serious-condition</B
></A
>, <A HREF="t_condition.html" CLASS="typeref"
><B
>condition</B
></A
>, <A HREF="t_t.html" CLASS="typeref"
><B
>t</B
></A
></P
></DD
><DT
><B
>Description</B
></DT
><DD
><P CLASS="j"
>All <A HREF="26_1_Glossary.html#condition"
><EM CLASS="term"
>conditions</EM
></A
> serious enough to require interactive intervention if not handled should inherit from the <A HREF="26_1_Glossary.html#type"
><EM CLASS="term"
>type</EM
></A
> <A HREF="t_serious-condition.html" CLASS="typeref"
><B
>serious-condition</B
></A
>. This condition type is provided primarily so that it may be included as a <A HREF="26_1_Glossary.html#superclass"
><EM CLASS="term"
>superclass</EM
></A
> of other <A HREF="26_1_Glossary.html#condition"
><EM CLASS="term"
>condition</EM
></A
> <A HREF="26_1_Glossary.html#type"
><EM CLASS="term"
>types</EM
></A
>; it is not intended to be signaled directly.</P
></DD
><DT
><B
>Notes</B
></DT
><DD
><P CLASS="j"
>Signaling a <A HREF="26_1_Glossary.html#serious_condition"
><EM CLASS="term"
>serious condition</EM
></A
> does not itself force entry into the debugger. However, except in the unusual situation where the programmer can assure that no harm will come from failing to <A HREF="26_1_Glossary.html#handle"
><EM CLASS="term"
>handle</EM
></A
> a <A HREF="26_1_Glossary.html#serious_condition"
><EM CLASS="term"
>serious condition</EM
></A
>, such a <A HREF="26_1_Glossary.html#condition"
><EM CLASS="term"
>condition</EM
></A
> is usually signaled with <A HREF="f_error.html" CLASS="funref"
><B
>error</B
></A
> rather than <A HREF="f_signal.html" CLASS="funref"
><B
>signal</B
></A
> in order to assure that the program does not continue without <A HREF="26_1_Glossary.html#handle"
><EM CLASS="term"
>handling</EM
></A
> the <A HREF="26_1_Glossary.html#condition"
><EM CLASS="term"
>condition</EM
></A
>. (And conversely, it is conventional to use <A HREF="f_signal.html" CLASS="funref"
><B
>signal</B
></A
> rather than <A HREF="f_error.html" CLASS="funref"
><B
>error</B
></A
> to signal conditions which are not <A HREF="26_1_Glossary.html#serious_condition"
><EM CLASS="term"
>serious conditions</EM
></A
>, since normally the failure to handle a non-serious condition is not reason enough for the debugger to be entered.)</P
></DD
></DL
></DIV
></DIV
><DIV CLASS="footer"
><DIV CLASS="btmnav"
><A HREF="t_style-warning.html" CLASS="prev"
>&#8592;</A
><A HREF="t_error.html" CLASS="next"
>&#8594;</A
></DIV
><DIV CLASS="trail"
>Conversion to HTML copyright 2023 by Gilbert Baumann</DIV
></DIV
></DIV
><SCRIPT
>domReady();</SCRIPT
></BODY
></HTML
>