Instance Method

exceptionHandler:shouldLogException:mask:

Implemented by the delegate to evaluate whether the delegating NSExceptionHandler instance should log a given exception.

Declaration

- (BOOL)exceptionHandler:(NSExceptionHandler *)sender shouldLogException:(NSException *)exception mask:(NSUInteger)aMask;

Parameters

sender

The NSExceptionHandler object sending the message.

exception

An NSException object describing the exception to be evaluated.

aMask

The bit mask indicating the types of exceptions logged by the NSExceptionHandler object. See Logging and Handling Constants and System Hang Constants for descriptions of the possible enum constants.

Return Value

YES to have the NSExceptionHandler object log the exception, NO otherwise.

See Also

Logging and handling exceptions

- exceptionHandler:shouldHandleException:mask:

Implemented by the delegate to evaluate whether the delegating NSExceptionHandler instance should handle a given exception.