General Exception Names

Exceptions defined by NSException.

Symbols

Constants

static let genericException: NSExceptionName

A generic name for an exception.

static let rangeException: NSExceptionName

Name of an exception that occurs when attempting to access outside the bounds of some data, such as beyond the end of a string.

static let invalidArgumentException: NSExceptionName

Name of an exception that occurs when you pass an invalid argument to a method, such as a nil pointer where a non-nil object is required.

static let internalInconsistencyException: NSExceptionName

Name of an exception that occurs when an internal assertion fails and implies an unexpected condition within the called code.

static let mallocException: NSExceptionName

Obsolete; not currently used.

static let objectInaccessibleException: NSExceptionName

Name of an exception that occurs when a remote object is accessed from a thread that should not access it.

static let objectNotAvailableException: NSExceptionName

Name of an exception that occurs when the remote side of the NSConnection refused to send the message to the object because the object has never been vended.

static let destinationInvalidException: NSExceptionName

Name of an exception that occurs when an internal assertion fails and implies an unexpected condition within the distributed objects.

static let portTimeoutException: NSExceptionName

Name of an exception that occurs when a timeout set on a port expires during a send or receive operation.

static let invalidSendPortException: NSExceptionName

Name of an exception that occurs when the send port of an NSConnection has become invalid.

static let invalidReceivePortException: NSExceptionName

Name of an exception that occurs when the receive port of an NSConnection has become invalid.

static let portSendException: NSExceptionName

Generic error occurred on send.

static let portReceiveException: NSExceptionName

Generic error occurred on receive.