1
0
Fork 0
cl-sites/novaspec.org/cl/f_no-applicable-method.html

250 lines
5.1 KiB
HTML
Raw Normal View History

2025-02-05 18:52:26 +01:00
<!DOCTYPE HTML>
<HTML LANG="en-us"
><HEAD
><TITLE
>no-applicable-method | Common Lisp Nova Spec</TITLE
><META CHARSET="US-ASCII"
><LINK REL="canonical" HREF="f_no-applicable-method.html"
><LINK REL="next" HREF="f_no-next-method.html" TYPE="text/html" TITLE="no-next-method"
><LINK REL="prev" HREF="f_method-qualifiers.html" TYPE="text/html" TITLE="method-qualifiers"
><LINK REL="up" HREF="7_7_Objects_Dictionary.html" TYPE="text/html" TITLE="7.7 Objects 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="7_Objects.html"
>7. Objects</A
></SPAN
> <SPAN CLASS="breadcrumb-item"
>&#8594; <A HREF="7_7_Objects_Dictionary.html"
>7.7 Objects Dictionary</A
></SPAN
> <SPAN CLASS="breadcrumb-item"
>&#8594; <A HREF="f_no-applicable-method.html"
>no-applicable-method</A
></SPAN
></DIV
><DIV CLASS="apropos"
><DIV CLASS="apropos-io"
><A HREF="f_method-qualifiers.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="f_no-next-method.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="no-applicable-method"
></SPAN
><B
>no-applicable-method</B
></TD
><TD ALIGN="RIGHT" VALIGN="BASELINE" WIDTH="0" NOWRAP="NOWRAP" CLASS="ftype"
><I
>Standard</I
> <I
>Generic</I
> <I
>Function</I
></TD
></TR
></TABLE
><HR
></DIV
><UL CLASS="subtoc"
></UL
><DL
><DT
><B
>Syntax</B
></DT
><DD
><P CLASS="j"
><B
>no-applicable-method</B
> <SPAN CLASS="cmssi"
>generic-function</SPAN
> <SPAN CLASS="cmtt"
>&amp;rest</SPAN
> <SPAN CLASS="cmssi"
>function-arguments</SPAN
> <SPAN CLASS="arrow"
>&#8594;</SPAN
> {<VAR CLASS="param"
>result</VAR
>}*</P
></DD
><DT
><B
>Method Signatures</B
></DT
><DD
><TABLE CELLPADDING="0" CELLSPACING="0"
><TR
><TD VALIGN="BASELINE" ALIGN="LEFT" NOWRAP="NOWRAP"
><B
>no-applicable-method</B
><SPAN CLASS="cmr"
>&#160;</SPAN
></TD
><TD VALIGN="BASELINE" ALIGN="LEFT"
><SPAN CLASS="cmr"
>(</SPAN
><VAR CLASS="param"
>generic-function</VAR
> <A HREF="t_t.html" CLASS="typeref"
><B
>t</B
></A
><SPAN CLASS="cmr"
>)</SPAN
><BR
><SPAN CLASS="cmtt"
>&amp;rest</SPAN
> <SPAN CLASS="cmssi"
>function-arguments</SPAN
></TD
></TR
></TABLE
></DD
><DT
><B
>Arguments and Values</B
></DT
><DD
><P CLASS="j"
><VAR CLASS="param"
>generic-function</VAR
> &#8212; a <A HREF="26_1_Glossary.html#generic_function"
><EM CLASS="term"
>generic function</EM
></A
> on which no <A HREF="26_1_Glossary.html#applicable_method"
><EM CLASS="term"
>applicable method</EM
></A
> was found. </P
><P CLASS="j"
><VAR CLASS="param"
>function-arguments</VAR
> &#8212; <A HREF="26_1_Glossary.html#argument"
><EM CLASS="term"
>arguments</EM
></A
> to the <VAR CLASS="param"
>generic-function</VAR
>. </P
><P CLASS="j"
><VAR CLASS="param"
>result</VAR
> &#8212; an <A HREF="26_1_Glossary.html#object"
><EM CLASS="term"
>object</EM
></A
>.</P
></DD
><DT
><B
>Description</B
></DT
><DD
><P CLASS="j"
>The generic function <A HREF="f_no-applicable-method.html" CLASS="funref"
><B
>no-applicable-method</B
></A
> is called when a <A HREF="26_1_Glossary.html#generic_function"
><EM CLASS="term"
>generic function</EM
></A
> is invoked and no <A HREF="26_1_Glossary.html#method"
><EM CLASS="term"
>method</EM
></A
> on that <A HREF="26_1_Glossary.html#generic_function"
><EM CLASS="term"
>generic function</EM
></A
> is applicable. The <A HREF="26_1_Glossary.html#default_method"
><EM CLASS="term"
>default method</EM
></A
> signals an error. </P
><P CLASS="j"
>The generic function <A HREF="f_no-applicable-method.html" CLASS="funref"
><B
>no-applicable-method</B
></A
> is not intended to be called by programmers. Programmers may write <A HREF="26_1_Glossary.html#method"
><EM CLASS="term"
>methods</EM
></A
> for it.</P
></DD
><DT
><B
>Exceptional Situations</B
></DT
><DD
><P CLASS="j"
>The default <A HREF="26_1_Glossary.html#method"
><EM CLASS="term"
>method</EM
></A
> signals an error of <A HREF="26_1_Glossary.html#type"
><EM CLASS="term"
>type</EM
></A
> <A HREF="t_error.html" CLASS="typeref"
><B
>error</B
></A
>.</P
></DD
><DT
><B
>See Also</B
></DT
></DL
></DIV
></DIV
><DIV CLASS="footer"
><DIV CLASS="btmnav"
><A HREF="f_method-qualifiers.html" CLASS="prev"
>&#8592;</A
><A HREF="f_no-next-method.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
>