@@ -19,10 +19,13 @@ #import "OFCreateSymbolicLinkFailedException.h" #import "OFString.h" #ifdef OF_HAVE_SYMLINK @implementation OFCreateSymbolicLinkFailedException +@synthesize sourcePath = _sourcePath, destinationPath = _destinationPath; +@synthesize errNo = _errNo; + + (instancetype)exceptionWithSourcePath: (OFString*)sourcePath destinationPath: (OFString*)destinationPath errNo: (int)errNo { return [[[self alloc] initWithSourcePath: sourcePath @@ -65,22 +68,7 @@ { return [OFString stringWithFormat: @"Failed to symlink file %@ to %@: %@", _sourcePath, _destinationPath, of_strerror(_errNo)]; } - -- (OFString*)sourcePath -{ - OF_GETTER(_sourcePath, true) -} - -- (OFString*)destinationPath -{ - OF_GETTER(_destinationPath, true) -} - -- (int)errNo -{ - return _errNo; -} @end #endif