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.
Statements (45)
| Predicate | Object |
|---|---|
| instanceOf |
Cocoa Touch exception
ⓘ
Cocoa exception ⓘ Objective-C exception type ⓘ |
| belongsToPlatform | Apple platforms NERFINISHED ⓘ |
| 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 NERFINISHED ⓘ |
| discouragedUse | for recoverable user-facing errors ⓘ |
| documentationLocation | Apple Developer Documentation for NSException NERFINISHED ⓘ |
| errorDomainType | exception rather than NSError ⓘ |
| handledBy |
@try-@catch blocks in Objective-C
ⓘ
uncaught exception handler ⓘ |
| hasNameString | ⓘ |
| introducedFor | debugging internal consistency problems ⓘ |
| language | Objective-C NERFINISHED ⓘ |
| loggingBehavior | prints exception name and reason ⓘ |
| notIntendedFor | normal control flow ⓘ |
| origin | Apple Cocoa frameworks NERFINISHED ⓘ |
| recommendedHandling | fix underlying logic bug rather than catching ⓘ |
| relatedTo |
NSException
NERFINISHED
ⓘ
NSGenericException NERFINISHED ⓘ NSInvalidArgumentException NERFINISHED ⓘ |
| severity | fatal ⓘ |
| signals |
internal logic error
ⓘ
programmer error ⓘ unexpected internal state ⓘ |
| thrownBy |
+ [NSException raise:format:]
ⓘ
-[NSException raise] ⓘ NSAssert macros NERFINISHED ⓘ NSCAssert macros ⓘ NSCParameterAssert macros ⓘ NSParameterAssert macros ⓘ |
| typicalCause |
failed assertion
ⓘ
unexpected control flow ⓘ violation of internal invariants ⓘ |
| typicalEffect | application termination GENERATED ⓘ |
| usedIn |
Cocoa
NERFINISHED
ⓘ
Cocoa Touch NERFINISHED ⓘ Objective-C programs ⓘ Swift programs interoperating with Objective-C ⓘ iOS applications ⓘ macOS applications ⓘ |
Referenced by (2)
Full triples — surface form annotated when it differs from this entity's canonical label.