Instance Method

reportException(_:)

Logs a given exception by calling NSLog().

Declaration

func reportException(_ exception: NSException)

Parameters

anException

The exception whose contents you want to write to the log file.

Discussion

This method does not raise anException. Use it inside of an exception handler to record that the exception occurred.

See Also