@@ -22,17 +22,27 @@ #import "SL3Exception.h" @implementation SL3Exception @synthesize connection = _connection, errorCode = _errorCode; + ++ (instancetype)exception +{ + OF_UNRECOGNIZED_SELECTOR +} + (instancetype)exceptionWithConnection: (SL3Connection *)connection errorCode: (int)errorCode { return [[[self alloc] initWithConnection: connection errorCode: errorCode] autorelease]; } + +- (instancetype)init +{ + OF_INVALID_INIT_METHOD +} - (instancetype)initWithConnection: (SL3Connection *)connection errorCode: (int)errorCode { self = [super init];