24 #import <Foundation/Foundation.h>
28 #pragma mark Class Constants
38 #define SCNumberExceptionClass @"SCNumberException"
44 #define SCNumberErrorName @"SCNumber"
48 #pragma mark Error Codes and IDs
58 #define SCNumberErrorUnspecified -20010
64 #define SCNumberErrorUnsupported -20011
70 #define SCNumberEIDUnspecified @"SCL-20010"
76 #define SCNumberEIDUnupported @"SCL-20011"
102 NSString *fUnsupportedType;
105 #pragma mark Instance Properties
115 @property (nonatomic, readonly, retain) NSString *unsupportedType;
120 #pragma mark Creating and Initializing Unspecified Number Object Exception
121 + (instancetype)exceptionWithReason:(NSString *)reason code:(
SCInteger)code eid:(NSString *)eid;
122 + (instancetype)exception;
123 - (instancetype)initWithReason:(NSString *)reason code:(
SCInteger)code eid:(NSString *)eid;
124 - (instancetype)init;
127 #pragma mark Создание и инициализация исключительной ситуации неподдерживаемого типа объекта (SCL-20011)
128 + (instancetype)exceptionWithUnsupportedType:(NSString *)type;
129 + (instancetype)exceptionWithNumberUnsupportedType;
130 - (instancetype)initWithUnsupportedType:(NSString *)type;
131 - (instancetype)initWithNumberUnsupportedType;
int32_t SCInteger
Definition: SCTypes.h:49
Parent class of all library exceptions.
Definition: SCException.h:72
Number object exceptions class.
Definition: SCNumberException.h:101
Exception SCException header file.