NSString Handling Exception Names

These constants define the names of exceptions raised if NSString cannot represent a string in a given encoding, or parse a string as a property list.



static let characterConversionException: NSExceptionName

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

static let parseErrorException: NSExceptionName

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