umf-exceptions.html 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <html lang="en">
  2. <head>
  3. <title>umf exceptions - avram - a virtual machine code interpreter</title>
  4. <meta http-equiv="Content-Type" content="text/html">
  5. <meta name="description" content="avram - a virtual machine code interpreter">
  6. <meta name="generator" content="makeinfo 4.13">
  7. <link title="Top" rel="start" href="index.html#Top">
  8. <link rel="up" href="umf.html#umf" title="umf">
  9. <link rel="prev" href="umf-output.html#umf-output" title="umf output">
  10. <link rel="next" href="Additional-umf-notes.html#Additional-umf-notes" title="Additional umf notes">
  11. <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
  12. <meta http-equiv="Content-Style-Type" content="text/css">
  13. <style type="text/css"><!--
  14. pre.display { font-family:inherit }
  15. pre.format { font-family:inherit }
  16. pre.smalldisplay { font-family:inherit; font-size:smaller }
  17. pre.smallformat { font-family:inherit; font-size:smaller }
  18. pre.smallexample { font-size:smaller }
  19. pre.smalllisp { font-size:smaller }
  20. span.sc { font-variant:small-caps }
  21. span.roman { font-family:serif; font-weight:normal; }
  22. span.sansserif { font-family:sans-serif; font-weight:normal; }
  23. --></style>
  24. </head>
  25. <body>
  26. <div class="node">
  27. <a name="umf-exceptions"></a>
  28. <p>
  29. Next:&nbsp;<a rel="next" accesskey="n" href="Additional-umf-notes.html#Additional-umf-notes">Additional umf notes</a>,
  30. Previous:&nbsp;<a rel="previous" accesskey="p" href="umf-output.html#umf-output">umf output</a>,
  31. Up:&nbsp;<a rel="up" accesskey="u" href="umf.html#umf">umf</a>
  32. <hr>
  33. </div>
  34. <h4 class="subsection">D.17.3 <code>umf</code> exceptions</h4>
  35. <p>If an exceptional condition arises from the use of this library, one
  36. of the following lists of character strings may be returned as the
  37. function result.
  38. <ul>
  39. <li><code>&lt;'memory overflow'&gt;</code> means the library function ran out of
  40. memory, most likely due to a matrix being too large.
  41. <li><code>&lt;'bad umf specification'&gt;</code> means an input parameter didn't
  42. <a name="index-bad-umf-specification-816"></a>conform to the appropriate format described above (<a href="umf-input-parameters.html#umf-input-parameters">umf input parameters</a>)
  43. <li><code>&lt;'umf error'&gt;</code> covers any unexpected behavior or abnormal
  44. <a name="index-umf-error-817"></a>status returned by any function from the C language API.
  45. </ul>
  46. <p>For the *<code>_trp</code> functions. A non-square matrix will cause the
  47. second exception above. For the *<code>_col</code> functions, a non-square
  48. matrix will cause the third exception or cause an empty result
  49. to be returned.
  50. <p>The exceptions noted at the beginning of this section (<a href="External-Libraries.html#External-Libraries">External Libraries</a>) are also possible.
  51. </body></html>