2000-03-05 17:39:33 +00:00
|
|
|
<html><head>
|
|
|
|
<title>NSException</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<a href="NSEnumerator.html">[Previous]</a>
|
2000-04-10 05:32:04 +00:00
|
|
|
<a href="Base.html">[Up]</a>
|
2000-03-05 17:39:33 +00:00
|
|
|
<a href="NSFileHandle.html">[Next]</a>
|
|
|
|
<h1>NSException</h1>
|
|
|
|
<h3>Authors</h3>
|
|
|
|
<dl>
|
|
|
|
<dt><a href="http://www.gnustep.org/developers/whoiswho.html">Richard Frith-Macdonald</a>
|
|
|
|
<dd>
|
|
|
|
</dl>
|
|
|
|
<p>Version: 0.1</p>
|
|
|
|
<p>Date: 28 February, 2000</p>
|
|
|
|
<h2><a name="cont-0">NSException</a></h2>
|
|
|
|
<h2><a name="NSException">NSException</a></h2>
|
|
|
|
<p><b>Declared in:</b> Foundation/NSException.h</p>
|
2000-09-15 19:56:39 +00:00
|
|
|
<p><b>Inherits from:</b> <A HREF="NSObject.html#NSObject">NSObject</A></p>
|
2000-03-05 17:39:33 +00:00
|
|
|
<p><b>Conforms to:</b> NSCoding
|
|
|
|
</p>
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
|
2000-09-15 19:56:39 +00:00
|
|
|
<h2>Instance Variables</h2>
|
|
|
|
<ul>
|
|
|
|
</ul>
|
|
|
|
<h2>Methods</h2>
|
2000-03-05 17:39:33 +00:00
|
|
|
<ul>
|
|
|
|
<li><a href="NSException.html#method-0">+exceptionWithName:reason:userInfo:</a>
|
|
|
|
<li><a href="NSException.html#method-1">+raise:format:</a>
|
|
|
|
<li><a href="NSException.html#method-2">+raise:format:arguments:</a>
|
|
|
|
<li><a href="NSException.html#method-3">-description</a>
|
|
|
|
<li><a href="NSException.html#method-4">-initWithName:reason:userInfo:</a>
|
|
|
|
<li><a href="NSException.html#method-5">-name</a>
|
|
|
|
<li><a href="NSException.html#method-6">-raise</a>
|
|
|
|
<li><a href="NSException.html#method-7">-reason</a>
|
|
|
|
<li><a href="NSException.html#method-8">-userInfo</a>
|
|
|
|
</ul>
|
2000-09-15 19:56:39 +00:00
|
|
|
<hr><h2>Class Methods</h2>
|
|
|
|
<h3><a name="method-0">exceptionWithName:reason:userInfo:</a></h3>
|
|
|
|
+ (<A HREF="NSException.html#NSException">NSException</A>*) <b>exceptionWithName:</b> (<A HREF="NSString.html#NSString">NSString</A>*)name <b>reason:</b> (<A HREF="NSString.html#NSString">NSString</A>*)reason <b>userInfo:</b> (<A HREF="NSDictionary.html#NSDictionary">NSDictionary</A>*)userInfo;<br>
|
2000-03-05 17:39:33 +00:00
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
2000-09-15 19:56:39 +00:00
|
|
|
<h3><a name="method-1">raise:format:</a></h3>
|
|
|
|
+ (void) <b>raise:</b> (<A HREF="NSString.html#NSString">NSString</A>*)name <b>format:</b> (<A HREF="NSString.html#NSString">NSString</A>*)format, ...;<br>
|
2000-03-05 17:39:33 +00:00
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
2000-09-15 19:56:39 +00:00
|
|
|
<h3><a name="method-2">raise:format:arguments:</a></h3>
|
|
|
|
+ (void) <b>raise:</b> (<A HREF="NSString.html#NSString">NSString</A>*)name <b>format:</b> (<A HREF="NSString.html#NSString">NSString</A>*)format <b>arguments:</b> (va_list)argList;<br>
|
2000-03-05 17:39:33 +00:00
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
2000-09-15 19:56:39 +00:00
|
|
|
<hr><h2>Instances Methods</h2>
|
|
|
|
<h3><a name="method-3">description</a></h3>
|
|
|
|
- (<A HREF="NSString.html#NSString">NSString</A>*) <b>description</b>;<br>
|
2000-03-05 17:39:33 +00:00
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
2000-09-15 19:56:39 +00:00
|
|
|
<h3><a name="method-4">initWithName:reason:userInfo:</a></h3>
|
|
|
|
- (id) <b>initWithName:</b> (<A HREF="NSString.html#NSString">NSString</A>*)name <b>reason:</b> (<A HREF="NSString.html#NSString">NSString</A>*)reason <b>userInfo:</b> (<A HREF="NSDictionary.html#NSDictionary">NSDictionary</A>*)userInfo;<br>
|
2000-03-05 17:39:33 +00:00
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
2000-09-15 19:56:39 +00:00
|
|
|
<h3><a name="method-5">name</a></h3>
|
|
|
|
- (<A HREF="NSString.html#NSString">NSString</A>*) <b>name</b>;<br>
|
2000-03-05 17:39:33 +00:00
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
2000-09-15 19:56:39 +00:00
|
|
|
<h3><a name="method-6">raise</a></h3>
|
2000-07-04 19:53:39 +00:00
|
|
|
- (void) <b>raise</b>;<br>
|
2000-03-05 17:39:33 +00:00
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
2000-09-15 19:56:39 +00:00
|
|
|
<h3><a name="method-7">reason</a></h3>
|
|
|
|
- (<A HREF="NSString.html#NSString">NSString</A>*) <b>reason</b>;<br>
|
2000-03-05 17:39:33 +00:00
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
2000-09-15 19:56:39 +00:00
|
|
|
<h3><a name="method-8">userInfo</a></h3>
|
|
|
|
- (<A HREF="NSDictionary.html#NSDictionary">NSDictionary</A>*) <b>userInfo</b>;<br>
|
2000-03-05 17:39:33 +00:00
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|