1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" />
7<title>UserExceptionHandler</title>
8  </head>
9  <body>
10<h1><CODE><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/os/Overview.html">os</a>::<a href="../../../nn/os/ARM/Overview.html">ARM</a>::UserExceptionHandler</CODE> Type</h1>
11<h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14typedef void(* nn::os::ARM::UserExceptionHandler)(ExceptionInfo *pei, ExceptionContext *pec);</pre>
15    </div>
16<h2>Parameters</h2>
17    <div class="section">
18      <table class="arguments">
19        <thead>
20          <tr>
21            <td width="15" />
22<th>Name</th>
23<td>Description</td>
24          </tr>
25        </thead>
26        <tr>
27<td>in</td>
28<th>pei</th>
29<td>Takes information about the exception that occurred.</td>
30        </tr>
31        <tr>
32<td>in</td>
33<th>pec</th>
34<td>Takes the CPU context at the time the exception occurred.</td>
35        </tr> </table>
36    </div>
37<h2>Description</h2>
38    <div class="section">
39<p>Enumerated type representing exception handlers.</p><p>The <SPAN class="argument">pei</SPAN> argument takes information about the exception that occurred.</p><p>The <SPAN class="argument">pec</SPAN> argument takes the CPU context at the time the exception occurred.</p><p>Cannot return from the exception handler. Operations are undefined if a return is made. For details on exception handlers, see <a href="../../../nn/os/ARM/SetUserExceptionHandler.html"><CODE>SetUserExceptionHandler</CODE></a>.</p><!-- write here --></div>
40<h2>Revision History</h2>
41    <div class="section">
42      <dl class="history">
43        <dt>2011/05/02</dt>
44<dd>Added the fact that operations are undefined if a return is made.<BR>
45        </dd>
46        <dt>2010/09/16</dt>
47<dd>Noted that the exception handler is not called in the debug environment.<br />
48        </dd>
49        <dt>2010/08/16</dt>
50<dd>Initial version.<br />
51        </dd>
52      </dl>
53    </div>
54  <hr><p>CONFIDENTIAL</p></body>
55</html>