exceptionHandler(_:shouldHandle:mask:)
Implemented by the delegate to evaluate whether the delegating exception handler should handle a given exception.
Declaration
func exceptionHandler(_ sender: NSExceptionHandler!, shouldHandle exception: NSException!, mask aMask: Int) -> BoolParameters
- 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
enumconstants.
Return Value
YES to have the NSExceptionHandler object handle the exception, NO otherwise.