@@ -24,11 +24,12 @@ #import "common.h" @implementation OFCreateDirectoryFailedException + (instancetype)exceptionWithPath: (OFString*)path { - return [[[self alloc] initWithPath: path] autorelease]; + return [[(OFCreateDirectoryFailedException*)[self alloc] + initWithPath: path] autorelease]; } - init { @try {