NSException

E236689

NSException is an Objective-C class used in Cocoa and Cocoa Touch frameworks to represent and handle runtime exceptions and error conditions in applications.

All labels observed (5)

How this entity was disambiguated

Statements (46)

Predicate Object
instanceOf Foundation framework class
Objective-C class
availableOn iOS
macOS
tvOS
watchOS
canBeBridgedTo Swift Error handling via NSException bridging (limited)
category error handling construct
conformsTo NSCopying
definedIn Foundation framework
designPattern represents exceptional control flow
hasClassMethod +exceptionWithName:reason:userInfo:
+raise:format:
+raise:format:arguments:
hasDocumentationAt https://developer.apple.com/documentation/foundation/nsexception
hasInitializer -initWithName:reason:userInfo:
hasInstanceMethod -name
-raise
-reason
-userInfo
hasProperty name
reason
userInfo
hasSubclass NSInternalInconsistencyException
NSInvalidArgumentException
NSRangeException
headerFile <Foundation/NSException.h>
introducedBy Apple
linked to: Apple Inc.
isRootExceptionClassIn Cocoa
Cocoa Touch
language Objective-C
memoryManagementModel reference counted
module Foundation
represents error condition
runtime exception
superclassOf NSInternalInconsistencyException
NSInvalidArgumentException
linked to: NSException

NSRangeException
linked to: NSException
threadBehavior unhandled NSException terminates the current thread
typicallyNotUsedFor ordinary error handling in Cocoa APIs
usedFor structured exception handling in Objective-C
usedIn Cocoa
Cocoa Touch
usedWith @catch directive
@finally directive
@try directive

How these facts were elicited

Referenced by (13)

Full triples — surface form annotated when it differs from this entity's canonical label.

NeXTSTEP Foundation Kit defines NSException
NSException superclassOf NSRangeException
linked to: NSException
NSException superclassOf NSInvalidArgumentException
linked to: NSException
NSInternalInconsistencyException relatedTo NSGenericException
linked to: NSException
NSInternalInconsistencyException documentationLocation Apple Developer Documentation for NSException
linked to: NSException
NSRangeException superclass NSException
NSRangeException canBeCaughtAs NSException
NSInvalidArgumentException relatedConcept NSGenericException
linked to: NSException