mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-25 01:31:08 +00:00
Don't add too many consts
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13809 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
afbd6c7b31
commit
f73df6155c
2 changed files with 14 additions and 14 deletions
|
@ -59,14 +59,14 @@
|
|||
@end
|
||||
|
||||
/* Common exceptions */
|
||||
GS_EXPORT const NSString* const NSGenericException;
|
||||
GS_EXPORT const NSString* const NSInternalInconsistencyException;
|
||||
GS_EXPORT const NSString* const NSInvalidArgumentException;
|
||||
GS_EXPORT const NSString* const NSMallocException;
|
||||
GS_EXPORT const NSString* const NSRangeException;
|
||||
GS_EXPORT const NSString* const NSCharacterConversionException;
|
||||
GS_EXPORT NSString* const NSGenericException;
|
||||
GS_EXPORT NSString* const NSInternalInconsistencyException;
|
||||
GS_EXPORT NSString* const NSInvalidArgumentException;
|
||||
GS_EXPORT NSString* const NSMallocException;
|
||||
GS_EXPORT NSString* const NSRangeException;
|
||||
GS_EXPORT NSString* const NSCharacterConversionException;
|
||||
#ifndef STRICT_OPENSTEP
|
||||
GS_EXPORT const NSString* const NSParseErrorException;
|
||||
GS_EXPORT NSString* const NSParseErrorException;
|
||||
#endif
|
||||
|
||||
/* Exception handler definitions */
|
||||
|
|
|
@ -37,45 +37,45 @@
|
|||
/**
|
||||
* A generic exception for general purpose usage.
|
||||
*/
|
||||
const NSString* const NSGenericException
|
||||
NSString* const NSGenericException
|
||||
= @"NSGenericException";
|
||||
|
||||
/**
|
||||
* An exception for caes where unexpected state is detected within an object
|
||||
*/
|
||||
const NSString* const NSInternalInconsistencyException
|
||||
NSString* const NSInternalInconsistencyException
|
||||
= @"NSInternalInconsistencyException";
|
||||
|
||||
/**
|
||||
* An exception used when an invalid argument is passed to a method
|
||||
* or function.
|
||||
*/
|
||||
const NSString* const NSInvalidArgumentException
|
||||
NSString* const NSInvalidArgumentException
|
||||
= @"NSInvalidArgumentException";
|
||||
|
||||
/**
|
||||
* An exception used when the system faols to allocate required memory.
|
||||
*/
|
||||
const NSString* const NSMallocException
|
||||
NSString* const NSMallocException
|
||||
= @"NSMallocException";
|
||||
|
||||
/**
|
||||
* An exception used when an illegal range is encountered ... usually this
|
||||
* is used to provide more information than an invalid argument exception.
|
||||
*/
|
||||
const NSString* const NSRangeException
|
||||
NSString* const NSRangeException
|
||||
= @"NSRangeException";
|
||||
|
||||
/**
|
||||
* An exception when character set conversion fails.
|
||||
*/
|
||||
const NSString* const NSCharacterConversionException
|
||||
NSString* const NSCharacterConversionException
|
||||
= @"NSCharacterConversionException";
|
||||
|
||||
/**
|
||||
* An exception used when some form of parsing fails.
|
||||
*/
|
||||
const NSString* const NSParseErrorException
|
||||
NSString* const NSParseErrorException
|
||||
= @"NSParseErrorException";
|
||||
|
||||
#include "GSPrivate.h"
|
||||
|
|
Loading…
Reference in a new issue