NSInternalInconsistencyException

E820442

NSInternalInconsistencyException is a Cocoa/Cocoa Touch exception type used to signal that an unexpected internal state or logic error has occurred within an application.

All labels observed (2)

Label Occurrences
NSInternalInconsistencyException canonical 2
NSAssert macros 1

How this entity was disambiguated

Statements (45)

Predicate Object
instanceOf Cocoa Touch exception
Cocoa exception
Objective-C exception type
belongsToPlatform Apple platforms
bestPractice use to indicate impossible or inconsistent states in code
category programming error
runtime error
commonContext assertion failures in AppKit
assertion failures in UIKit
definedIn Foundation framework
discouragedUse for recoverable user-facing errors
documentationLocation Apple Developer Documentation for NSException
linked to: NSException
errorDomainType exception rather than NSError
handledBy @try-@catch blocks in Objective-C
uncaught exception handler
hasNameString
introducedFor debugging internal consistency problems
language Objective-C
loggingBehavior prints exception name and reason
notIntendedFor normal control flow
origin Apple Cocoa frameworks
linked to: macOS Cocoa
recommendedHandling fix underlying logic bug rather than catching
relatedTo NSException
NSGenericException
linked to: NSException

NSInvalidArgumentException
severity fatal
signals internal logic error
programmer error
unexpected internal state
thrownBy + [NSException raise:format:]
-[NSException raise]
NSAssert macros
NSCAssert macros
NSCParameterAssert macros
NSParameterAssert macros
typicalCause failed assertion
unexpected control flow
violation of internal invariants
typicalEffect application termination
usedIn Cocoa
Cocoa Touch
Objective-C programs
Swift programs interoperating with Objective-C
iOS applications
macOS applications

How these facts were elicited

Referenced by (3)

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

NSException superclassOf NSInternalInconsistencyException
NSException hasSubclass NSInternalInconsistencyException
NSInternalInconsistencyException thrownBy NSAssert macros
linked to: NSInternalInconsistencyException