ObjFW
Public Member Functions | Static Public Member Functions
OFSymlinkFailedException Class Reference

An exception indicating that creating a symlink failed. More...

#import <OFSymlinkFailedException.h>

Inheritance diagram for OFSymlinkFailedException:
OFException OFObject <OFObject>

List of all members.

Public Member Functions

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

Static Public Member Functions

(id) + exceptionWithClass:sourcePath:destinationPath:

Detailed Description

An exception indicating that creating a symlink failed.


Member Function Documentation

- (OFString*) destinationPath
Returns:
A string with the destination for the symlink
- (int) errNo
Returns:
The errno from when the exception was created
+ (id) exceptionWithClass: (Class)  class_
sourcePath: (OFString*)  source
destinationPath: (OFString*)  destination 
Parameters:
class_The class of the object which caused the exception
sourceThe source for the symlink
destinationThe destination for the symlink
Returns:
A new symlink failed exception
- (id) initWithClass: (Class)  class_
sourcePath: (OFString*)  source
destinationPath: (OFString*)  destination 

Initializes an already allocated symlink failed exception.

Parameters:
class_The class of the object which caused the exception
sourceThe source for the symlink
destinationThe destination for the symlink
Returns:
An initialized symlink failed exception
- (OFString*) sourcePath
Returns:
A string with the source for the symlink

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