24 #import <scl/SCException.h>
27 #pragma mark Class Constants
33 #define SCNumberExceptionClass @"SCNumberException"
34 #define SCNumberErrorName @"SCNumber"
39 #pragma mark Error Codes and IDs
45 #define SCNumberErrorUnspecified -20010
46 #define SCNumberErrorUnsupported -20011
48 #define SCNumberEIDUnspecified @"SCL-20010"
50 #define SCNumberEIDUnupported @"SCL-20011"
77 NSString *fUnsupportedType;
80 #pragma mark Instance Properties
95 #pragma mark Accessing Class Instance Properties
96 - (NSString *)unsupportedType;
99 #pragma mark Creating and Initializing Unspecified Number Object Exception
100 + (instancetype)exceptionWithReason:(NSString *)reason code:(
SCInteger)code eid:(NSString *)eid;
101 + (instancetype)exception;
102 - (instancetype)initWithReason:(NSString *)reason code:(
SCInteger)code eid:(NSString *)eid;
103 - (instancetype)init;
106 #pragma mark Создание и инициализация исключительной ситуации неподдерживаемого типа объекта (SCL-20011)
107 + (instancetype)exceptionWithUnsupportedType:(NSString *)type;
108 + (instancetype)exceptionWithNumberUnsupportedType;
109 - (instancetype)initWithUnsupportedType:(NSString *)type;
110 - (instancetype)initWithNumberUnsupportedType;
int32_t SCInteger
Definition: SCTypes.h:52
Общий предок всех классов исключительных ситуаций библиотеки
Definition: SCException.h:56
NSString * unsupportedType
Definition: SCNumberException.h:90
Класс исключительной ситуации числового объекта
Definition: SCNumberException.h:76