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 *_unsupportedType;
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;
126 #pragma mark Creating Unsupported Number Object Type Exception (SCL-20011)
127 + (instancetype)exceptionWithUnsupportedType:(NSString *)type;
128 + (instancetype)exceptionWithNumberUnsupportedType;
int32_t SCInteger
Definition: SCTypes.h:149
Parent class of all library exceptions.
Definition: SCException.h:72
Number object exceptions class.
Definition: SCNumberException.h:101
Exception SCException header file.