![]() |
ooc
1.3c
Object Oriented tollkit fo ANSI C
|
Segmentation fault exception. More...
Segmentation fault exception.
SegmentationFault exception is thrown in your testcase if a SIGSEGV unix signal has been arised (e.g. dereferencing a NULL pointer or writing beyond memory borders). TestCase cathes this unix signal and converts it to an ooc Exception, so you can catch and test it in your test methods, or simply let it be reported as a test fail. SegmentationFault is a subclass for Exception.