@@ -20,21 +20,21 @@ #import "OFString.h" @implementation OFUnsupportedVersionException @synthesize version = _version; -+ (instancetype)exceptionWithVersion: (OFString*)version ++ (instancetype)exceptionWithVersion: (OFString *)version { return [[[self alloc] initWithVersion: version] autorelease]; } - init { OF_INVALID_INIT_METHOD } -- initWithVersion: (OFString*)version +- initWithVersion: (OFString *)version { self = [super init]; @try { _version = [version copy]; @@ -51,12 +51,12 @@ [_version release]; [super dealloc]; } -- (OFString*)description +- (OFString *)description { return [OFString stringWithFormat: @"Version %@ of the format or protocol is not supported!", _version]; } @end