@@ -27,13 +27,13 @@ * handled like other exceptions, as the exception handling code is not * allowed to allocate ANY memory. */ @interface OFAllocFailedException: OFObject /** - * \return An error message for the exception as a string + * \return A description of the exception */ -- (OFString*)string; +- (OFString*)description; @end /** * \brief The base class for all exceptions in ObjFW * @@ -44,11 +44,11 @@ * either! You have to make sure to dealloc the exception in your \@catch block! */ @interface OFException: OFObject { Class inClass; - OFString *string; + OFString *description; } #ifdef OF_HAVE_PROPERTIES @property (readonly, nonatomic) Class inClass; #endif @@ -73,13 +73,13 @@ * \return The class of the object in which the exception happened */ - (Class)inClass; /** - * \return An error message for the exception as a string + * \return A description of the exception */ -- (OFString*)string; +- (OFString*)description; @end /** * \brief An exception indicating there is not enough memory available. */