@@ -149,11 +149,13 @@ return [[self alloc] initWithClass: class_]; } - init { - @throw [OFNotImplementedException newWithClass: isa + Class c = isa; + [self release]; + @throw [OFNotImplementedException newWithClass: c selector: _cmd]; } - initWithClass: (Class)class_ { @@ -251,11 +253,13 @@ pointer: ptr]; } - initWithClass: (Class)class_ { - @throw [OFNotImplementedException newWithClass: isa + Class c = isa; + [self release]; + @throw [OFNotImplementedException newWithClass: c selector: _cmd]; } - initWithClass: (Class)class_ pointer: (void*)ptr @@ -295,11 +299,13 @@ selector: selector]; } - initWithClass: (Class)class_ { - @throw [OFNotImplementedException newWithClass: isa + Class c = isa; + [self release]; + @throw [OFNotImplementedException newWithClass: c selector: _cmd]; } - initWithClass: (Class)class_ selector: (SEL)selector_ @@ -350,11 +356,13 @@ selector: selector_]; } - initWithClass: (Class)class_ { - @throw [OFNotImplementedException newWithClass: isa + Class c = isa; + [self release]; + @throw [OFNotImplementedException newWithClass: c selector: _cmd]; } - initWithClass: (Class)class_ selector: (SEL)selector_ @@ -447,23 +455,30 @@ mode: mode]; } - initWithClass: (Class)class_ { - @throw [OFNotImplementedException newWithClass: isa + Class c = isa; + [self release]; + @throw [OFNotImplementedException newWithClass: c selector: _cmd]; } - initWithClass: (Class)class_ path: (OFString*)path_ mode: (OFString*)mode_ { self = [super initWithClass: class_]; - path = [path_ copy]; - mode = [mode_ copy]; - errNo = GET_ERRNO; + @try { + path = [path_ copy]; + mode = [mode_ copy]; + errNo = GET_ERRNO; + } @catch (id e) { + [self release]; + @throw e; + } return self; } - (void)dealloc @@ -510,11 +525,13 @@ size: size]; } - initWithClass: (Class)class_ { - @throw [OFNotImplementedException newWithClass: isa + Class c = isa; + [self release]; + @throw [OFNotImplementedException newWithClass: c selector: _cmd]; } - initWithClass: (Class)class_ size: (size_t)size @@ -606,21 +623,28 @@ path: path_]; } - initWithClass: (Class)class_ { - @throw [OFNotImplementedException newWithClass: isa + Class c = isa; + [self release]; + @throw [OFNotImplementedException newWithClass: c selector: _cmd]; } - initWithClass: (Class)class_ path: (OFString*)path_ { self = [super initWithClass: class_]; - path = [path_ copy]; - errNo = GET_ERRNO; + @try { + path = [path_ copy]; + errNo = GET_ERRNO; + } @catch (id e) { + [self release]; + @throw e; + } return self; } - (void)dealloc @@ -664,23 +688,30 @@ mode: mode]; } - initWithClass: (Class)class_ { - @throw [OFNotImplementedException newWithClass: isa + Class c = isa; + [self release]; + @throw [OFNotImplementedException newWithClass: c selector: _cmd]; } - initWithClass: (Class)class_ path: (OFString*)path_ mode: (mode_t)mode_ { self = [super initWithClass: class_]; - path = [path_ copy]; - mode = mode_; - errNo = GET_ERRNO; + @try { + path = [path_ copy]; + mode = mode_; + errNo = GET_ERRNO; + } @catch (id e) { + [self release]; + @throw e; + } return self; } - (void)dealloc @@ -731,11 +762,13 @@ group: group]; } - initWithClass: (Class)class_ { - @throw [OFNotImplementedException newWithClass: isa + Class c = isa; + [self release]; + @throw [OFNotImplementedException newWithClass: c selector: _cmd]; } - initWithClass: (Class)class_ path: (OFString*)path_ @@ -742,14 +775,19 @@ owner: (uid_t)owner_ group: (gid_t)group_ { self = [super initWithClass: class_]; - path = [path_ copy]; - owner = owner_; - group = group_; - errNo = GET_ERRNO; + @try { + path = [path_ copy]; + owner = owner_; + group = group_; + errNo = GET_ERRNO; + } @catch (id e) { + [self release]; + @throw e; + } return self; } - (void)dealloc @@ -803,23 +841,30 @@ destinationPath: dst]; } - initWithClass: (Class)class_ { - @throw [OFNotImplementedException newWithClass: isa + Class c = isa; + [self release]; + @throw [OFNotImplementedException newWithClass: c selector: _cmd]; } - initWithClass: (Class)class_ sourcePath: (OFString*)src destinationPath: (OFString*)dst { self = [super initWithClass: class_]; - sourcePath = [src copy]; - destinationPath = [dst copy]; - errNo = GET_ERRNO; + @try { + sourcePath = [src copy]; + destinationPath = [dst copy]; + errNo = GET_ERRNO; + } @catch (id e) { + [self release]; + @throw e; + } return self; } - (void)dealloc @@ -869,23 +914,30 @@ destinationPath: dst]; } - initWithClass: (Class)class_ { - @throw [OFNotImplementedException newWithClass: isa + Class c = isa; + [self release]; + @throw [OFNotImplementedException newWithClass: c selector: _cmd]; } - initWithClass: (Class)class_ sourcePath: (OFString*)src destinationPath: (OFString*)dst { self = [super initWithClass: class_]; - sourcePath = [src copy]; - destinationPath = [dst copy]; - errNo = GET_ERRNO; + @try { + sourcePath = [src copy]; + destinationPath = [dst copy]; + errNo = GET_ERRNO; + } @catch (id e) { + [self release]; + @throw e; + } return self; } - (void)dealloc @@ -933,21 +985,28 @@ path: path_]; } - initWithClass: (Class)class_ { - @throw [OFNotImplementedException newWithClass: isa + Class c = isa; + [self release]; + @throw [OFNotImplementedException newWithClass: c selector: _cmd]; } - initWithClass: (Class)class_ path: (OFString*)path_ { self = [super initWithClass: class_]; - path = [path_ copy]; - errNo = GET_ERRNO; + @try { + path = [path_ copy]; + errNo = GET_ERRNO; + } @catch (id e) { + [self release]; + @throw e; + } return self; } - (void)dealloc @@ -988,21 +1047,28 @@ path: path_]; } - initWithClass: (Class)class_ { - @throw [OFNotImplementedException newWithClass: isa + Class c = isa; + [self release]; + @throw [OFNotImplementedException newWithClass: c selector: _cmd]; } - initWithClass: (Class)class_ path: (OFString*)path_ { self = [super initWithClass: class_]; - path = [path_ copy]; - errNo = GET_ERRNO; + @try { + path = [path_ copy]; + errNo = GET_ERRNO; + } @catch (id e) { + [self release]; + @throw e; + } return self; } - (void)dealloc @@ -1046,11 +1112,13 @@ destinationPath: dest]; } - initWithClass: (Class)class_ { - @throw [OFNotImplementedException newWithClass: isa + Class c = isa; + [self release]; + @throw [OFNotImplementedException newWithClass: c selector: _cmd]; } - initWithClass: (Class)class_ sourcePath: (OFString*)src @@ -1112,11 +1180,13 @@ destinationPath: dest]; } - initWithClass: (Class)class_ { - @throw [OFNotImplementedException newWithClass: isa + Class c = isa; + [self release]; + @throw [OFNotImplementedException newWithClass: c selector: _cmd]; } - initWithClass: (Class)class_ sourcePath: (OFString*)src @@ -1233,13 +1303,18 @@ node: (OFString*)node_ service: (OFString*)service_ { self = [super initWithClass: class_]; - node = [node_ copy]; - service = [service_ copy]; - errNo = GET_AT_ERRNO; + @try { + node = [node_ copy]; + service = [service_ copy]; + errNo = GET_AT_ERRNO; + } @catch (id e) { + [self release]; + @throw e; + } return self; } - (void)dealloc @@ -1298,23 +1373,30 @@ service: service]; } - initWithClass: (Class)class_ { - @throw [OFNotImplementedException newWithClass: isa + Class c = isa; + [self release]; + @throw [OFNotImplementedException newWithClass: c selector: _cmd]; } - initWithClass: (Class)class_ node: (OFString*)node_ service: (OFString*)service_ { self = [super initWithClass: class_]; - node = [node_ copy]; - service = [service_ copy]; - errNo = GET_SOCK_ERRNO; + @try { + node = [node_ copy]; + service = [service_ copy]; + errNo = GET_SOCK_ERRNO; + } @catch (id e) { + [self release]; + @throw e; + } return self; } - (void)dealloc @@ -1366,11 +1448,13 @@ family: family]; } - initWithClass: (Class)class_ { - @throw [OFNotImplementedException newWithClass: isa + Class c = isa; + [self release]; + @throw [OFNotImplementedException newWithClass: c selector: _cmd]; } - initWithClass: (Class)class_ node: (OFString*)node_ @@ -1377,14 +1461,19 @@ service: (OFString*)service_ family: (int)family_ { self = [super initWithClass: class_]; - node = [node_ copy]; - service = [service_ copy]; - family = family_; - errNo = GET_SOCK_ERRNO; + @try { + node = [node_ copy]; + service = [service_ copy]; + family = family_; + errNo = GET_SOCK_ERRNO; + } @catch (id e) { + [self release]; + @throw e; + } return self; } - (void)dealloc @@ -1437,11 +1526,13 @@ backLog: backlog]; } - initWithClass: (Class)class_ { - @throw [OFNotImplementedException newWithClass: isa + Class c = isa; + [self release]; + @throw [OFNotImplementedException newWithClass: c selector: _cmd]; } - initWithClass: (Class)class_ backLog: (int)backlog @@ -1601,30 +1692,42 @@ prefix: prefix]; } - initWithClass: (Class)class_ { - @throw [OFNotImplementedException newWithClass: isa + Class c = isa; + [self release]; + @throw [OFNotImplementedException newWithClass: c selector: _cmd]; } - initWithClass: (Class)class_ namespace: (OFString*)ns_ { self = [super initWithClass: class_]; - ns = [ns_ copy]; + @try { + ns = [ns_ copy]; + } @catch (id e) { + [self release]; + @throw e; + } return self; } - initWithClass: (Class)class_ prefix: (OFString*)prefix_ { self = [super initWithClass: class_]; - prefix = [prefix_ copy]; + @try { + prefix = [prefix_ copy]; + } @catch (id e) { + [self release]; + @throw e; + } return self; } - (void)dealloc