Exception class SCFileStreamException.
More...
#import <SCFileStreamException.h>
Exception class SCFileStreamException.
- SDK
- macOS 10.6+, iOS 7.0+, GNUstep
- Since
- version 1.1.3
Declares the file stream exceptions.
Generated by the class exceptions correspond to the following errors:
+ (instancetype) exceptionWithEmptyPath |
|
|
|
Returns an empty file stream path exception SCL-20034 created by using the default settings.
- Returns
- A created exception
+ (instancetype) exceptionWithEndOfFile |
|
|
|
Returns an end of stream exception SCL-20035 created by using the default settings.
- Returns
- A created exception
+ (instancetype) exceptionWithEndOfFile: |
|
(NSString *) |
file |
|
Returns an end of stream exception SCL-20035 created by using the specified file stream name.
- Parameters
-
file | - the name of the file stream |
- Returns
- A created exception
Returns an incorrect open mode exception SCL-20033 created by using the specified incorrect mode.
- Parameters
-
mode | - the incorrect open mode |
- Returns
- A created exception
Returns an incorrect open mode exception SCL-20033 created by using the specified incorrect mode and file stream path.
- Parameters
-
mode | - the incorrect open mode |
path | - the path to the file stream |
- Returns
- A created exception
Returns a seeking exception SCL-20036 created by using the specified seeking error code.
- Parameters
-
error | - the seeking error code |
- Returns
- A created exception
Returns a seeking exception SCL-20036 created by using the specified seeking error code and file stream path.
- Parameters
-
error | - the seeking error code |
path | - the path to the file stream |
- Returns
- A created exception
Returns a seeking exception SCL-20036 created by using the specified seeking error code, seeking offset whence and seeking offset.
- Parameters
-
error | - the seeking error code |
whence | - the seeking offset whence |
offset | - the seeking offset |
- Returns
- A created exception
Returns a seeking exception SCL-20036 created by using the specified seeking error code, seeking offset whence, seeking offset and path to the file stream.
- Parameters
-
error | - the seeking error code |
whence | - the seeking offset whence |
offset | - the seeking offset |
path | - the file stream path |
- Returns
- A created exception
Returns an incorrect offset whence exception SCL-20037 created by using the specified incorrect offset whence.
- Parameters
-
whence | - the incorrect offset whence |
- Returns
- A created exception
Returns an incorrect offset whence exception SCL-20037 created by using the specified incorrect offset whence and file stream path.
- Parameters
-
whence | - the incorrect offset whence |
path | - the path to the file stream |
- Returns
- A created exception
- (instancetype) initWithEmptyPath |
|
|
|
Initializes an empty file stream path exception SCL-20034 by using the default settings.
- Returns
- A newly initialized exception
- (instancetype) initWithEndOfFile |
|
|
|
Initializes an end of stream exception SCL-20035 by using the default settings.
- Returns
- A newly initialized exception
- (instancetype) initWithEndOfFile: |
|
(NSString *) |
file |
|
Initializes an end of stream exception SCL-20035 by using the specified file stream name.
- Parameters
-
file | - the name of the file stream |
- Returns
- A newly initialized exception
Initializes an incorrect open mode exception SCL-20033 by using the specified incorrect mode.
- Parameters
-
mode | - the incorrect open mode |
- Returns
- A newly initialized exception
Initializes an incorrect open mode exception SCL-20033 by using the specified incorrect mode and file stream path.
- Parameters
-
mode | - the incorrect open mode |
path | - the path to the file stream |
- Returns
- A newly initialized exception
Initializes a seeking exception SCL-20036 by using the specified seeking error code.
- Parameters
-
error | - the seeking error code |
- Returns
- A newly initialized exception
Initializes a seeking exception SCL-20036 by using the specified seeking error code and file stream path.
- Parameters
-
error | - the seeking error code |
path | - the path to the file stream |
- Returns
- A newly initialized exception
Initializes a seeking exception SCL-20036 by using the specified seeking error code, seeking offset whence and seeking offset.
- Parameters
-
error | - the seeking error code |
whence | - the seeking offset whence |
offset | - the seeking offset |
- Returns
- A newly initialized exception
Initializes a seeking exception SCL-20036 by using the specified seeking error code, seeking offset whence, seeking offset and path to the file stream.
- Parameters
-
error | - the seeking error code |
whence | - the seeking offset whence |
offset | - the seeking offset |
path | - the file stream path |
- Returns
- A newly initialized exception
Initializes an incorrect offset whence exception SCL-20037 by using the specified incorrect offset whence.
- Parameters
-
whence | - the incorrect offset whence |
- Returns
- A newly initialized exception
Initializes an incorrect offset whence exception SCL-20037 by using the specified incorrect offset whence and file stream path.
- Parameters
-
whence | - the incorrect offset whence |
path | - the path to the file stream |
- Returns
- A newly initialized exception
Incorrect file stream offset
Incorrect file stream open mode
Stream seeking error code
Incorrect file stream offset whence
The documentation for this class was generated from the following files: