Samond Classes Library 1.2.6-STABLE build 219
NSException+SCException.h
Go to the documentation of this file.
1 //
2 // NSException+SCException.h
3 // scl
4 //
5 // Created by Viacheslav Smolensky on 23.05.17.
6 // Copyright (c) 2007 - 2018 by Samond Development Corporation. All rights reserved.
7 //
8 
24 #import <Foundation/Foundation.h>
26 
27 #pragma mark -
28 #pragma mark Class Constants
29 
38 #define NSExceptionClass @"NSException"
39 
56 
57 #pragma mark -
58 #pragma mark Creating Exceptions
59 + (instancetype)exceptionWithCoder:(NSCoder *)coder;
60 + (instancetype)exceptionWithContentsOfSerializedFile:(NSString *)path;
61 + (instancetype)exceptionWithDataDictionary:(NSDictionary *)dictionary;
62 + (instancetype)exceptionWithDataDictionaryFromFile:(NSString *)path;
63 + (instancetype)exceptionWithStream:(SCStream *)stream;
64 + (instancetype)exceptionWithFileStream:(NSString *)path;
65 + (instancetype)exceptionWithData:(NSData *)data;
66 + (instancetype)exceptionWithContentsOfFile:(NSString *)path;
67 + (instancetype)exceptionWithContentsOfURL:(NSURL *)url;
68 + (instancetype)exceptionWithContentsOfURLString:(NSString *)urlString;
69 + (instancetype)exceptionWithException:(NSException *)exception;
70 
71 #pragma mark -
72 #pragma mark Initializing Exceptions
73 - (instancetype)initWithException:(NSException *)exception;
74 
75 @end
Category NSObject(SCObject) header file.
Standard class NSException functionality extending category.
Definition: NSException+SCException.h:55
Abstract parent class of the stream classes hierarchy.
Definition: SCStream.h:224