ObjFW
Public Member Functions | Static Public Member Functions | Properties
OFRenameFileFailedException Class Reference

An exception indicating that renaming a file failed. More...

#include <OFRenameFileFailedException.h>

Inheritance diagram for OFRenameFileFailedException:
OFException OFObject <OFObject>

List of all members.

Public Member Functions

id initWithClass:sourcePath:destinationPath: (Class class_,[sourcePath] OFString *src,[destinationPath] OFString *dst)
int errNo ()
OFStringsourcePath ()
OFStringdestinationPath ()

Static Public Member Functions

id newWithClass:sourcePath:destinationPath: (Class class_,[sourcePath] OFString *src,[destinationPath] OFString *dst)

Properties

OFStringsourcePath
OFStringdestinationPath
int errNo

Detailed Description

An exception indicating that renaming a file failed.


Member Function Documentation

OFString* OFRenameFileFailedException::destinationPath ( ) [virtual]
Returns:
The new path
int OFRenameFileFailedException::errNo ( ) [virtual]
Returns:
The errno from when the exception was created
id OFRenameFileFailedException::initWithClass:sourcePath:destinationPath: ( Class  class_,
[sourcePath] OFString src,
[destinationPath] OFString dst 
) [virtual]

Initializes an already allocated rename failed exception.

Parameters:
class_The class of the object which caused the exception
srcThe original path
dstThe new path
Returns:
An initialized rename file failed exception
id OFRenameFileFailedException::newWithClass:sourcePath:destinationPath: ( Class  class_,
[sourcePath] OFString src,
[destinationPath] OFString dst 
) [static, virtual]
Parameters:
class_The class of the object which caused the exception
srcThe original path
dstThe new path
Returns:
A new rename file failed exception
OFString* OFRenameFileFailedException::sourcePath ( ) [virtual]
Returns:
The original path

The documentation for this class was generated from the following files:
 All Classes Functions Variables