24 #import <scl/SCException.h>
27 #pragma mark Class Constants
33 #define SCSystemExceptionClass @"SCSystemException"
34 #define SCSystemErrorName @"SCSystem"
39 #pragma mark Error Codes and IDs
45 #define SCSystemErrorCode -20002
46 #define SCSystemEID @"SCL-20002"
48 #define SCUnspecifiedSystemError 0
53 #pragma mark System Error Types
89 NSString *fObjectName;
92 #pragma mark Instance Properties
108 @property (nonatomic, retain, readonly, getter=
objectName) NSString *objectName;
113 #pragma mark Accessing Class Instance Properties
115 - (NSString *)objectName;
118 #pragma mark Creating and Initializing Class Instances (SCL-20002)
119 + (instancetype)exceptionWithError:(
SCSystemError)error object:(NSString *)object;
121 + (instancetype)exception;
122 - (instancetype)initWithError:(
SCSystemError)error object:(NSString *)object;
124 - (instancetype)init;
int32_t SCInteger
Definition: SCTypes.h:52
Общий предок всех классов исключительных ситуаций библиотеки
Definition: SCException.h:56
Класс исключительной ситуации системной ошибки
Definition: SCSystemException.h:87
NSString * objectName
Definition: SCSystemException.h:108
SCSystemError error
Definition: SCSystemException.h:102
SCInteger SCSystemError
Тип системных ошибок
Definition: SCSystemException.h:69