mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Documentation improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15422 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
12caf1c108
commit
6c28122b3b
4 changed files with 81 additions and 4 deletions
|
@ -32,6 +32,25 @@
|
|||
#include <Foundation/NSString.h>
|
||||
#include <Foundation/NSThread.h>
|
||||
|
||||
/**
|
||||
* <p>NSAssertionHandler objects are used to raise exceptions on behalf of
|
||||
* macros implementing assertions.<br />
|
||||
* Each thread has its own assertion handler instance.<br />
|
||||
* </p>
|
||||
* <p>The macros work together with the assertion handler object to
|
||||
* produce meaningful exception messages containing the name of the
|
||||
* source file, the position within that file, and the name of the
|
||||
* ObjC method or C function in which the assertion failed.
|
||||
* </p>
|
||||
* The assertion macros are:
|
||||
* NSAssert(), NSCAssert(),
|
||||
* NSAssert1(), NSCAssert1(),
|
||||
* NSAssert2(), NSCAssert2(),
|
||||
* NSAssert3(), NSCAssert3(),
|
||||
* NSAssert4(), NSCAssert4(),
|
||||
* NSAssert5(), NSCAssert5(),
|
||||
* NSParameterAssert(), NSCParameterAssert()
|
||||
*/
|
||||
@implementation NSAssertionHandler
|
||||
|
||||
/* Key for thread dictionary. */
|
||||
|
|
|
@ -144,7 +144,7 @@ _NSFoundationUncaughtExceptionHandler (NSException *exception)
|
|||
<p>
|
||||
The local variable localException is the name of the exception
|
||||
object you can use in the NS_HANDLER section.
|
||||
The easiest way to cause an exeption is using the +raise:format:
|
||||
The easiest way to cause an exeption is using the +raise:format:,...
|
||||
method.
|
||||
</p>
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue