Public Member Functions | Static Public Member Functions | Protected Attributes

OFRenameFileFailedException Class Reference

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

#import <OFExceptions.h>

Inheritance diagram for OFRenameFileFailedException:
OFException OFObject

List of all members.

Public Member Functions

(id) - initWithClass:sourcePath:destinationPath:
(int) - errNo
(OFString *) - sourcePath
(OFString *) - destinationPath

Static Public Member Functions

(id) + newWithClass:sourcePath:destinationPath:

Protected Attributes

OFStringsourcePath
OFStringdestinationPath
int errNo

Detailed Description

An exception indicating that renaming a file failed.


Member Function Documentation

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

Initializes an already allocated rename failed exception.

Parameters:
class_ The class of the object which caused the exception
src The original path
dst The new path
Returns:
An initialized rename file failed exception
+ (id) newWithClass: (Class)  class_
sourcePath: (OFString*)  src
destinationPath: (OFString*)  dst 
Parameters:
class_ The class of the object which caused the exception
src The original path
dst The new path
Returns:
A new rename file failed exception
- (OFString*) sourcePath  
Returns:
The original path

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