ObjFW  Diff

Differences From Artifact [0456aef792]:

To Artifact [da2de5e5ed]:


760
761
762
763
764
765
766



























}

- (int)errNo
{
	return err;
}
@end


































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
}

- (int)errNo
{
	return err;
}
@end

@implementation OFThreadJoinFailedException
- (const char*)cString
{
	if (string != NULL)
		return string;

	asprintf(&string, "Joining a thread of class %s failed! Most likely, "
	    "another thread already waits for the thread to join.",
	    [class name]);

	return string;
}
@end

@implementation OFThreadCanceledException
- (const char*)cString
{
	if (string != NULL)
		return string;

	asprintf(&string, "The requested action cannot be performed because "
	    "the thread of class %s was canceled!", [class name]);

	return string;
}
@end