exceptionHandler(_:shouldLogException:mask:)
Implemented by the delegate to evaluate whether the delegating exception hangler should log a given exception.
Declaration
func exceptionHandler(_ sender: NSExceptionHandler!, shouldLogException 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 logged 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 log the exception, NO otherwise.