Samond Classes Library 1.2.6-STABLE build 219
|
Standard class NSException functionality extending category. More...
#import <NSException+SCException.h>
Creating Exceptions | |
(instancetype) | + exceptionWithCoder: |
(instancetype) | + exceptionWithContentsOfSerializedFile: |
(instancetype) | + exceptionWithDataDictionary: |
(instancetype) | + exceptionWithDataDictionaryFromFile: |
(instancetype) | + exceptionWithStream: |
(instancetype) | + exceptionWithFileStream: |
(instancetype) | + exceptionWithData: |
(instancetype) | + exceptionWithContentsOfFile: |
(instancetype) | + exceptionWithContentsOfURL: |
(instancetype) | + exceptionWithContentsOfURLString: |
(instancetype) | + exceptionWithException: |
Initializing Exceptions | |
(instancetype) | - initWithException: |
Standard class NSException functionality extending category.
Declares the additional methods for add into the standard class NSException the additional functionality, such as dictionaries, collections and streans support and so on.
+ (instancetype) exceptionWithCoder: | (NSCoder *) | coder |
Returns an exception created by using the specified coder.
coder | - the source coder |
+ (instancetype) exceptionWithContentsOfFile: | (NSString *) | path |
Returns an exception created by using the file with the specified path.
path | - the path to the source file |
+ (instancetype) exceptionWithContentsOfSerializedFile: | (NSString *) | path |
Returns an exception created by using the content of serialized file with the specified path.
path | - the source serialized file path |
+ (instancetype) exceptionWithContentsOfURL: | (NSURL *) | url |
Returns an exception created by using the specified URL.
url | - the source URL |
+ (instancetype) exceptionWithContentsOfURLString: | (NSString *) | urlString |
Returns an exception created by using the data from the URL with the specified string.
urlString | - the string of the source URL |
+ (instancetype) exceptionWithData: | (NSData *) | data |
Returns an exception created by using the specified data object.
data | - the source data object |
+ (instancetype) exceptionWithDataDictionary: | (NSDictionary *) | dictionary |
Returns an exception created by using the specified data dictionary.
dictionary | - the source data dictionary |
+ (instancetype) exceptionWithDataDictionaryFromFile: | (NSString *) | path |
Returns an exception created by using the data dictionary from the specified file.
path | - the source data dictionary file path |
+ (instancetype) exceptionWithException: | (NSException *) | exception |
Returns an exception created by using the specified existing exception.
exception | - the source exception |
+ (instancetype) exceptionWithFileStream: | (NSString *) | path |
Returns an exception created by using the data from the file stream with the specified path.
path | - the path of the source file stream |
SCStreamException | - stream error detected |
SCSystemException | - system error detected |
+ (instancetype) exceptionWithStream: | (SCStream *) | stream |
Returns an exception created by using the data from the specified stream.
stream | - the source stream |
SCStreamException | - stream error detected |
SCSystemException | - system error detected |
- (instancetype) initWithException: | (NSException *) | exception |
Initializes an exception by using the specified existing exception.
exception | - the source exception |