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