Don't access isa directly.

This commit is contained in:
Jonathan Schleifer 2012-07-12 05:09:06 +02:00
parent edadc4878b
commit 430bde693e
3 changed files with 35 additions and 31 deletions

View file

@ -53,7 +53,7 @@
[pool release];
if (crt == NULL)
@throw [OFInitializationFailedException
exceptionWithClass: isa];
exceptionWithClass: [self class]];
} @catch (id e) {
[self release];
@throw e;
@ -70,7 +70,7 @@
crt = X509_dup(cert);
if (crt == NULL)
@throw [OFInitializationFailedException
exceptionWithClass: isa];
exceptionWithClass: [self class]];
} @catch (id e) {
[self release];
@throw e;
@ -418,7 +418,8 @@
char *buffer;
if (ASN1_STRING_to_UTF8((unsigned char**)&buffer, str) < 0)
@throw [OFInvalidEncodingException exceptionWithClass: isa];
@throw [OFInvalidEncodingException
exceptionWithClass: [self class]];
@try {
ret = [OFString stringWithUTF8String: buffer];