Differences From Artifact [3a58ffe4f3]:
- File
src/OFExceptions.h
— part of check-in
[61a6ac873a]
at
2009-02-14 17:08:21
on branch trunk
— Big diff, see details.
* Add OFComparable protocol.
* Add OFInvalidArgument exception - needs that sel_getName vs.
sel_get_name stuff again, therefore reintroduce it.
* Implement proper copy method for OFString and OFArray.
* Add isEqual: and compare: for OFString and OFArray. (user: js, size: 12784) [annotate] [blame] [check-ins using]
To Artifact [edbf4d480b]:
- File src/OFExceptions.h — part of check-in [ca4a07a578] at 2009-04-12 14:05:37 on branch trunk — Add OFNotImplementedException. (user: js, size: 13519) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
109 110 111 112 113 114 115 116 117 118 119 120 121 122 | /** * \return A pointer to the memory which is not part of the object */ - (void*)pointer; @end /** * An OFException indicating the given value is out of range. */ @interface OFOutOfRangeException: OFException {} @end /** | > > > > > > > > > > > > > > > > > > > > > > > > > > > | 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 | /** * \return A pointer to the memory which is not part of the object */ - (void*)pointer; @end /** * An OFException indicating that a method or part of it is not implemented. */ @interface OFNotImplementedException: OFException { SEL selector; } /** * \param class The class of the object which caused the exception * \param selector The selector which is not or not fully implemented * \return A new not implemented exception */ + newWithClass: (Class)class andSelector: (SEL)selector; /** * Initializes an already allocated not implemented exception. * * \param class The class of the object which caused the exception * \param selector The selector which is not or not fully implemented * \return An initialized not implemented exception */ - initWithClass: (Class)class andSelector: (SEL)selector; @end /** * An OFException indicating the given value is out of range. */ @interface OFOutOfRangeException: OFException {} @end /** |
︙ | ︙ |