Instance Method インスタンスメソッド

exceptionHandler:shouldHandleException:mask:

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

Declaration 宣言

- (BOOL)exceptionHandler:(NSExceptionHandler *)sender 
   shouldHandleException:(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 handled 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 handle the exception, NO otherwise.

See Also 参照

Logging and handling exceptions