No overview available.
SDKs
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+
- tvOS 10.0+
- watchOS 3.0+
Framework
- Foundation
Declaration
struct NSExceptionName
No overview available.
SDKs
Framework
struct NSExceptionName
static let character Conversion Exception: NSException Name
NSString
raises an NSCharacter
if a string cannot be represented in a file-system or string encoding.
static let decimal Number Divide By Zero Exception: NSException Name
The exception raised on divide by zero.
static let decimal Number Exactness Exception: NSException Name
The exception raised if there is an exactness error.
static let decimal Number Overflow Exception: NSException Name
The exception raised on overflow.
static let decimal Number Underflow Exception: NSException Name
The exception raised on underflow.
static let destination Invalid Exception: NSException Name
Name of an exception that occurs when an internal assertion fails and implies an unexpected condition within the distributed objects.
static let file Handle Operation Exception: NSException Name
Raised by NSFile
if attempts to determine file-handle type fail or if attempts to read from a file or channel fail.
static let generic Exception: NSException Name
A generic name for an exception.
static let internal Inconsistency Exception: NSException Name
Name of an exception that occurs when an internal assertion fails and implies an unexpected condition within the called code.
static let invalid Archive Operation Exception: NSException Name
The name of the exception raised by NSKeyed
if there is a problem creating an archive.
static let invalid Argument Exception: NSException Name
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 invalid Receive Port Exception: NSException Name
Name of an exception that occurs when the receive port of an NSConnection
has become invalid.
static let invalid Send Port Exception: NSException Name
Name of an exception that occurs when the send port of an NSConnection
has become invalid.
static let invalid Unarchive Operation Exception: NSException Name
The name of the exception raised by NSKeyed
if there is a problem extracting an archive.
static let invocation Operation Cancelled Exception: NSException Name
The name of the exception raised if the result
method is called after the operation was cancelled.
static let invocation Operation Void Result Exception: NSException Name
The name of the exception raised if the result
method is called for an invocation method with a void
return type.
static let malloc Exception: NSException Name
Obsolete; not currently used.
static let object Inaccessible Exception: NSException Name
Name of an exception that occurs when a remote object is accessed from a thread that should not access it.
static let object Not Available Exception: NSException Name
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 old Style Exception: NSException Name
No longer used.
static let parse Error Exception: NSException Name
NSString
raises an NSParse
if a string cannot be parsed as a property list.
static let port Receive Exception: NSException Name
Generic error occurred on receive.
static let port Send Exception: NSException Name
Generic error occurred on send.
static let port Timeout Exception: NSException Name
Name of an exception that occurs when a timeout set on a port expires during a send or receive operation.
static let range Exception: NSException Name
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 undefined Key Exception: NSException Name
Raised when a key value coding operation fails. user
keys are described in NSUndefinedKeyException userInfo Keys
static let inconsistent Archive Exception: NSException Name
The name of an exception raised by NSArchiver
if there are problems initializing or encoding.
static let print Operation Exists Exception: NSException Name
The name of an exception raised when there is already a print operation in process.
static let text Line Too Long Exception: NSException Name
Exception generated if a line is too long in a NSText
object.
class let hierarchy Inconsistency Exception: NSException Name
Raised if the view controller hierarchy is inconsistent with the view hierarchy.
class let invalid Interface Orientation Exception: NSException Name
This exception is thrown if a view controller or the app returns 0
instead of a valid set of supported interface orientation values. It is also thrown if the orientation returned by a view controller’s preferred
method does not match one of the view controller’s supported orientations.