@@ -1674,11 +1674,11 @@ if (description != nil) return description; description = [[OFString alloc] initWithFormat: @"Deallocation of a thread of type %@ was tried, even though it " - @"was still running", inClass]; + @"was still running!", inClass]; return description; } @end @@ -1687,11 +1687,11 @@ { if (description != nil) return description; description = [[OFString alloc] initWithFormat: - @"A mutex could not be locked in class %@", inClass]; + @"A mutex of class %@ could not be locked!", inClass]; return description; } @end @@ -1700,11 +1700,25 @@ { if (description != nil) return description; description = [[OFString alloc] initWithFormat: - @"A mutex could not be unlocked in class %@", inClass]; + @"A mutex of class %@ could not be unlocked!", inClass]; + + return description; +} +@end + +@implementation OFMutexLockedException +- (OFString*)description +{ + if (description != nil) + return description; + + description = [[OFString alloc] initWithFormat: + @"Deallocation of a mutex of type %@ was tried, even though it " + @"was still locked!", inClass]; return description; } @end