Type Alias

NSExceptionName

No overview available.

Declaration

typedef NSString *NSExceptionName;

Topics

Type Properties

NSCharacterConversionException

NSString raises an NSCharacterConversionException if a string cannot be represented in a file-system or string encoding.

NSDecimalNumberDivideByZeroException

The exception raised on divide by zero.

NSDecimalNumberExactnessException

The exception raised if there is an exactness error.

NSDecimalNumberOverflowException

The exception raised on overflow.

NSDecimalNumberUnderflowException

The exception raised on underflow.

NSDestinationInvalidException

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

NSFileHandleOperationException

Raised by NSFileHandle if attempts to determine file-handle type fail or if attempts to read from a file or channel fail.

NSGenericException

A generic name for an exception.

NSInternalInconsistencyException

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

NSInvalidArchiveOperationException

The name of the exception raised by NSKeyedArchiver if there is a problem creating an archive.

NSInvalidArgumentException

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.

NSInvalidReceivePortException

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

NSInvalidSendPortException

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

NSInvalidUnarchiveOperationException

The name of the exception raised by NSKeyedArchiver if there is a problem extracting an archive.

NSInvocationOperationCancelledException

The name of the exception raised if the result method is called after the operation was cancelled.

NSInvocationOperationVoidResultException

The name of the exception raised if the result method is called for an invocation method with a void return type.

NSMallocException

Obsolete; not currently used.

NSObjectInaccessibleException

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

NSObjectNotAvailableException

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.

NSOldStyleException

No longer used.

NSParseErrorException

NSString raises an NSParseErrorException if a string cannot be parsed as a property list.

NSPortReceiveException

Generic error occurred on receive.

NSPortSendException

Generic error occurred on send.

NSPortTimeoutException

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

NSRangeException

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

NSUndefinedKeyException

Raised when a key value coding operation fails. userInfo keys are described in NSUndefinedKeyException userInfo Keys

NSInconsistentArchiveException

The name of an exception raised by NSArchiver if there are problems initializing or encoding.

NSPrintOperationExistsException

The name of an exception raised when there is already a print operation in process.

NSTextLineTooLongException

Exception generated if a line is too long in a NSText object.

UIViewControllerHierarchyInconsistencyException

Raised if the view controller hierarchy is inconsistent with the view hierarchy.

UIApplicationInvalidInterfaceOrientationException

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 preferredInterfaceOrientationForPresentation method does not match one of the view controller’s supported orientations.

See Also

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software