@@ -18,10 +18,12 @@ #import "OFStatItemFailedException.h" #import "OFString.h" @implementation OFStatItemFailedException +@synthesize path = _path, errNo = _errNo; + + (instancetype)exceptionWithPath: (OFString*)path { return [[[self alloc] initWithPath: path] autorelease]; } @@ -81,16 +83,6 @@ @"Failed to stat item %@: %@", _path, of_strerror(_errNo)]; else return [OFString stringWithFormat: @"Failed to stat item %@!", _path]; } - -- (OFString*)path -{ - OF_GETTER(_path, true) -} - -- (int)errNo -{ - return _errNo; -} @end