Show
Ignore:
Timestamp:
03/06/08 20:50:50 (9 months ago)
Author:
timothy
Message:

Build fixes.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Frameworks/AGRegex/AGRegex.m

    r3642 r3778  
    143143        // check for valid ASCII string 
    144144        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]; 
    146146#endif 
    147147        // sanity check range