An exception indicating a file couldn't be opened.
More...
#include <OFOpenFileFailedException.h>
List of all members.
Detailed Description
An exception indicating a file couldn't be opened.
Member Function Documentation
int OFOpenFileFailedException::errNo |
( |
| ) |
[virtual] |
- Returns:
- The errno from when the exception was created
id OFOpenFileFailedException::initWithClass:path:mode: |
( |
Class |
class_, |
|
|
[path] OFString* |
path, |
|
|
[mode] OFString* |
mode |
|
) |
| [virtual] |
Initializes an already allocated open file failed exception.
- Parameters:
-
class_ | The class of the object which caused the exception |
path | A string with the path of the file which couldn't be opened |
mode | A string with the mode in which the file should have been opened |
- Returns:
- An initialized open file failed exception
OFString* OFOpenFileFailedException::mode |
( |
| ) |
[virtual] |
- Returns:
- A string with the mode in which the file should have been opened
id OFOpenFileFailedException::newWithClass:path:mode: |
( |
Class |
class_, |
|
|
[path] OFString* |
path, |
|
|
[mode] OFString* |
mode |
|
) |
| [static, virtual] |
- Parameters:
-
class_ | The class of the object which caused the exception |
path | A string with the path of the file tried to open |
mode | A string with the mode in which the file should have been opened |
- Returns:
- A new open file failed exception
OFString* OFOpenFileFailedException::path |
( |
| ) |
[virtual] |
- Returns:
- A string with the path of the file which couldn't be opened
The documentation for this class was generated from the following files: