@@ -42,29 +42,29 @@ * * IMPORTANT: Exceptions do NOT use OFAutoreleasePools!! */ @interface OFException: OFObject { - Class class; + Class class_; OFString *string; } /** * Creates a new exception. * - * \param class The class of the object which caused the exception + * \param class_ The class of the object which caused the exception * \return A new exception */ -+ newWithClass: (Class)class; ++ newWithClass: (Class)class_; /** * Initializes an already allocated OFException. * - * \param class The class of the object which caused the exception + * \param class_ The class of the object which caused the exception * \return An initialized OFException */ -- initWithClass: (Class)class; +- initWithClass: (Class)class_; /** * \return The class of the object in which the exception happened */ - (Class)inClass; @@ -82,25 +82,25 @@ { size_t req_size; } /** - * \param class The class of the object which caused the 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 A new no memory exception */ -+ newWithClass: (Class)class ++ newWithClass: (Class)class_ size: (size_t)size; /** * Initializes an already allocated no memory exception. * - * \param class The class of the object which caused the 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 */ -- initWithClass: (Class)class +- initWithClass: (Class)class_ size: (size_t)size; /** * \return The size of the memoory that couldn't be allocated */ @@ -114,25 +114,25 @@ { void *pointer; } /** - * \param class The class of the object which caused the exception + * \param class_ The class of the object which caused the exception * \param ptr A pointer to the memory that is not part of the object * \return A new memory not part of object exception */ -+ newWithClass: (Class)class ++ newWithClass: (Class)class_ pointer: (void*)ptr; /** * Initializes an already allocated memory not part of object exception. * - * \param class The class of the object which caused the exception + * \param class_ The class of the object which caused the exception * \param ptr A pointer to the memory that is not part of the object * \return An initialized memory not part of object exception */ -- initWithClass: (Class)class +- initWithClass: (Class)class_ pointer: (void*)ptr; /** * \return A pointer to the memory which is not part of the object */ @@ -146,25 +146,25 @@ { SEL selector; } /** - * \param class The class of the object which caused the exception + * \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 ++ newWithClass: (Class)class_ selector: (SEL)selector; /** * Initializes an already allocated not implemented exception. * - * \param class The class of the object which caused the 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 +- initWithClass: (Class)class_ selector: (SEL)selector; @end /** * An OFException indicating the given value is out of range. @@ -179,25 +179,25 @@ { SEL selector; } /** - * \param class The class of the object which caused the exception + * \param class_ The class of the object which caused the exception * \param selector The selector which doesn't accept the argument * \return A new invalid argument exception */ -+ newWithClass: (Class)class ++ newWithClass: (Class)class_ selector: (SEL)selector; /** * Initializes an already allocated invalid argument exception * - * \param class The class of the object which caused the exception + * \param class_ The class of the object which caused the exception * \param selector The selector which doesn't accept the argument * \return An initialized invalid argument exception */ -- initWithClass: (Class)class +- initWithClass: (Class)class_ selector: (SEL)selector; @end /** * An OFException indicating that the encoding is invalid for this object. @@ -232,28 +232,28 @@ OFString *mode; int err; } /** - * \param class The class of the object which caused the exception + * \param class_ The class of the object which caused the exception * \param path A string of the path to the file tried to open * \param mode A string of the mode in which the file should have been opened * \return A new open file failed exception */ -+ newWithClass: (Class)class ++ newWithClass: (Class)class_ path: (OFString*)path mode: (OFString*)mode; /** * Initializes an already allocated open file failed exception. * - * \param class The class of the object which caused the exception + * \param class_ The class of the object which caused the exception * \param path A string of the path to the file which couldn't be opened * \param mode A string of the mode in which the file should have been opened * \return An initialized open file failed exception */ -- initWithClass: (Class)class +- initWithClass: (Class)class_ path: (OFString*)path mode: (OFString*)mode; /** * \return The errno from when the exception was created @@ -281,47 +281,47 @@ BOOL has_items; int err; } /** - * \param class The class of the object which caused the exception + * \param class_ The class of the object which caused the exception * \param size The requested size of the data that couldn't be read / written * \param items The requested number of items that couldn't be read / written * \return A new open file failed exception */ -+ newWithClass: (Class)class ++ newWithClass: (Class)class_ size: (size_t)size items: (size_t)items; /** - * \param class The class of the object which caused the exception + * \param class_ The class of the object which caused the exception * \param size The requested size of the data that couldn't be read / written * \return A new open file failed exception */ -+ newWithClass: (Class)class ++ newWithClass: (Class)class_ size: (size_t)size; /** * Initializes an already allocated read or write failed exception. * - * \param class The class of the object which caused the exception + * \param class_ The class of the object which caused the exception * \param size The requested size of the data that couldn't be read / written * \param items The requested number of items that couldn't be read / written * \return A new open file failed exception */ -- initWithClass: (Class)class +- initWithClass: (Class)class_ size: (size_t)size items: (size_t)items; /** * Initializes an already allocated read or write failed exception. * - * \param class The class of the object which caused the exception + * \param class_ The class of the object which caused the exception * \param size The requested size of the data that couldn't be read / written * \return A new open file failed exception */ -- initWithClass: (Class)class +- initWithClass: (Class)class_ size: (size_t)size; /** * \return The errno from when the exception was created */ @@ -364,28 +364,28 @@ OFString *dest; int err; } /** - * \param class The class of the object which caused the exception + * \param class_ The class of the object which caused the exception * \param source The source for the link * \param destination The destination for the link * \return A new link failed exception */ -+ newWithClass: (Class)class ++ newWithClass: (Class)class_ source: (OFString*)src destination: (OFString*)dest; /** * Initializes an already allocated open file failed exception. * - * \param class The class of the object which caused the exception + * \param class_ The class of the object which caused the exception * \param source The source for the link * \param destination The destination for the link * \return An initialized link failed exception */ -- initWithClass: (Class)class +- initWithClass: (Class)class_ source: (OFString*)src destination: (OFString*)dest; /** * \return The errno from when the exception was created @@ -412,28 +412,28 @@ OFString *dest; int err; } /** - * \param class The class of the object which caused the exception + * \param class_ The class of the object which caused the exception * \param source The source for the symlink * \param destination The destination for the symlink * \return A new symlink failed exception */ -+ newWithClass: (Class)class ++ newWithClass: (Class)class_ source: (OFString*)src destination: (OFString*)dest; /** * Initializes an already allocated open file failed exception. * - * \param class The class of the object which caused the exception + * \param class_ The class of the object which caused the exception * \param source The source for the symlink * \param destination The destination for the symlink * \return An initialized symlink failed exception */ -- initWithClass: (Class)class +- initWithClass: (Class)class_ source: (OFString*)src destination: (OFString*)dest; /** * \return The errno from when the exception was created @@ -479,28 +479,28 @@ OFString *service; int err; } /** - * \param class The class of the object which caused the exception + * \param class_ The class of the object which caused the exception * \param node The node for which translation was requested * \param service The service of the node for which translation was requested * \return A new address translation failed exception */ -+ newWithClass: (Class)class ++ newWithClass: (Class)class_ node: (OFString*)node service: (OFString*)service; /** * Initializes an already allocated address translation failed exception. * - * \param class The class of the object which caused the exception + * \param class_ The class of the object which caused the exception * \param node The node for which translation was requested * \param service The service of the node for which translation was requested * \return An initialized address translation failed exception */ -- initWithClass: (Class)class +- initWithClass: (Class)class_ node: (OFString*)node service: (OFString*)service; /** * \return The errno from when the exception was created @@ -527,28 +527,28 @@ OFString *service; int err; } /** - * \param class The class of the object which caused the exception + * \param class_ The class of the object which caused the exception * \param node The node to which the connection failed * \param service The service on the node to which the connection failed * \return A new connection failed exception */ -+ newWithClass: (Class)class ++ newWithClass: (Class)class_ node: (OFString*)node service: (OFString*)service; /** * Initializes an already allocated connection failed exception. * - * \param class The class of the object which caused the exception + * \param class_ The class of the object which caused the exception * \param node The node to which the connection failed * \param service The service on the node to which the connection failed * \return An initialized connection failed exception */ -- initWithClass: (Class)class +- initWithClass: (Class)class_ node: (OFString*)node service: (OFString*)service; /** * \return The errno from when the exception was created @@ -576,31 +576,31 @@ int family; int err; } /** - * \param class The class of the object which caused the exception + * \param class_ The class of the object which caused the exception * \param node The node on which binding failed * \param service The service on which binding failed * \param family The family for which binnding failed * \return A new bind failed exception */ -+ newWithClass: (Class)class ++ newWithClass: (Class)class_ node: (OFString*)node service: (OFString*)service family: (int)family; /** * Initializes an already allocated bind failed exception. * - * \param class The class of the object which caused the exception + * \param class_ The class of the object which caused the exception * \param node The node on which binding failed * \param service The service on which binding failed * \param family The family for which binnding failed * \return An initialized bind failed exception */ -- initWithClass: (Class)class +- initWithClass: (Class)class_ node: (OFString*)node service: (OFString*)service family: (int)family; /** @@ -632,25 +632,25 @@ int backlog; int err; } /** - * \param class The class of the object which caused the exception + * \param class_ The class of the object which caused the exception * \param backlog The requested size of the back log * \return A new listen failed exception */ -+ newWithClass: (Class)class ++ newWithClass: (Class)class_ backLog: (int)backlog; /** * Initializes an already allocated listen failed exception * - * \param class The class of the object which caused the exception + * \param class_ The class of the object which caused the exception * \param backlog The requested size of the back log * \return An initialized listen failed exception */ -- initWithClass: (Class)class +- initWithClass: (Class)class_ backLog: (int)backlog; /** * \return The errno from when the exception was created */