1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <html lang="en">
- <head>
- <title>Exception Handling - avram - a virtual machine code interpreter</title>
- <meta http-equiv="Content-Type" content="text/html">
- <meta name="description" content="avram - a virtual machine code interpreter">
- <meta name="generator" content="makeinfo 4.13">
- <link title="Top" rel="start" href="index.html#Top">
- <link rel="up" href="Virtual-Code-Semantics.html#Virtual-Code-Semantics" title="Virtual Code Semantics">
- <link rel="prev" href="List-Functions.html#List-Functions" title="List Functions">
- <link rel="next" href="Interfaces-to-External-Code.html#Interfaces-to-External-Code" title="Interfaces to External Code">
- <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
- <meta http-equiv="Content-Style-Type" content="text/css">
- <style type="text/css"><!--
- pre.display { font-family:inherit }
- pre.format { font-family:inherit }
- pre.smalldisplay { font-family:inherit; font-size:smaller }
- pre.smallformat { font-family:inherit; font-size:smaller }
- pre.smallexample { font-size:smaller }
- pre.smalllisp { font-size:smaller }
- span.sc { font-variant:small-caps }
- span.roman { font-family:serif; font-weight:normal; }
- span.sansserif { font-family:sans-serif; font-weight:normal; }
- --></style>
- </head>
- <body>
- <div class="node">
- <a name="Exception-Handling"></a>
- <p>
- Next: <a rel="next" accesskey="n" href="Interfaces-to-External-Code.html#Interfaces-to-External-Code">Interfaces to External Code</a>,
- Previous: <a rel="previous" accesskey="p" href="List-Functions.html#List-Functions">List Functions</a>,
- Up: <a rel="up" accesskey="u" href="Virtual-Code-Semantics.html#Virtual-Code-Semantics">Virtual Code Semantics</a>
- <hr>
- </div>
- <h4 class="subsection">2.7.15 Exception Handling</h4>
- <p><a name="index-exceptions-348"></a>In quite a few cases, the properties given for the operator up to this
- point do not imply any particular result. A good example would be an
- expression such as [[<code>left</code>]] <code>nil</code>, which appears to
- represent the left side of an empty pair. It can be argued that
- expressions like this have no sensible interpretation and should never
- be used, so it would be appropriate to leave them undefined. On the
- other hand, attempts to evaluate such expressions occur frequently by
- mistake, and in any case, the virtual machine emulator should be
- designed to do something reasonable about them if only for the sake of
- reporting the error. The chosen remedy for this situation addresses the
- need for error reporting, and also turns out to be useful in other ways.
- <ul class="menu">
- <li><a accesskey="1" href="A-Hierarchy-of-Sets.html#A-Hierarchy-of-Sets">A Hierarchy of Sets</a>
- <li><a accesskey="2" href="Operator-Generalization.html#Operator-Generalization">Operator Generalization</a>
- <li><a accesskey="3" href="Error-Messages.html#Error-Messages">Error Messages</a>
- <li><a accesskey="4" href="Expedient-Error-Messages.html#Expedient-Error-Messages">Expedient Error Messages</a>
- <li><a accesskey="5" href="Computable-Error-Messages.html#Computable-Error-Messages">Computable Error Messages</a>
- <li><a accesskey="6" href="Exception-Handler-Usage.html#Exception-Handler-Usage">Exception Handler Usage</a>
- </ul>
- </body></html>
|