Changeset 3778 for trunk/Frameworks
- Timestamp:
- 03/06/08 20:50:50 (9 months ago)
- Files:
-
- trunk/Frameworks/AGRegex/AGRegex.m (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Frameworks/AGRegex/AGRegex.m
r3642 r3778 143 143 // check for valid ASCII string 144 144 if (![str canBeConvertedToEncoding:NSASCIIStringEncoding]) 145 [NSException raise: @"%@ is not a valid ASCII string, build with UTF-8 support", str];145 [NSException raise:NSInvalidArgumentException format:@"%@ is not a valid ASCII string, build with UTF-8 support", str]; 146 146 #endif 147 147 // sanity check range
