23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#import "SSLInvalidCertificateException.h"
#import <ObjFW/OFNotImplementedException.h>
@implementation SSLInvalidCertificateException
+ exceptionWithClass: (Class)class_
reason: (OFString*)reason_;
{
return [[self alloc] initWithClass: class_
reason: reason_];
}
- initWithClass: (Class)class_
{
Class c = isa;
[self release];
@throw [OFNotImplementedException exceptionWithClass: c
|
|
|
|
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#import "SSLInvalidCertificateException.h"
#import <ObjFW/OFNotImplementedException.h>
@implementation SSLInvalidCertificateException
+ exceptionWithClass: (Class)class_
reason: (OFString*)reason_;
{
return [[[self alloc] initWithClass: class_
reason: reason_] autorelease];
}
- initWithClass: (Class)class_
{
Class c = isa;
[self release];
@throw [OFNotImplementedException exceptionWithClass: c
|