29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
#endif
/**
* \param class_ The class of the object which caused the exception
* \param size The size of the memory that couldn't be allocated
* \return A new no memory exception
*/
+ exceptionWithClass: (Class)class_
requestedSize: (size_t)size;
/**
* Initializes an already allocated no memory exception.
*
* \param class_ The class of the object which caused the exception
* \param size The size of the memory that couldn't be allocated
* \return An initialized no memory exception
|
|
|
|
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
#endif
/**
* \param class_ The class of the object which caused the exception
* \param size The size of the memory that couldn't be allocated
* \return A new no memory exception
*/
+ (instancetype)exceptionWithClass: (Class)class_
requestedSize: (size_t)size;
/**
* Initializes an already allocated no memory exception.
*
* \param class_ The class of the object which caused the exception
* \param size The size of the memory that couldn't be allocated
* \return An initialized no memory exception
|