Number object exceptions class.
More...
#import <SCNumberException.h>
Number object exceptions class.
- SDK
- macOS 10.6+, iOS 7.0+, GNUstep
- Since
- version 1.1.3
Implements the exceptions of the number objects NSNumber(SCNumber).
Class defines the following errors:
+ (instancetype) exception |
|
|
|
Returns an unspecified number object exception created by using the default settings.
- Returns
- A created exception
+ (instancetype) exceptionWithNumberUnsupportedType |
|
|
|
Returns an unsupported object number type exception SCL-20011 created by using the default settings.
- Returns
- A created exception
+ (instancetype) exceptionWithReason: |
|
(NSString *) |
reason |
code: |
|
(SCInteger) |
code |
eid: |
|
(NSString *) |
eid |
|
|
| |
Returns an unspecified number object exception created by using the specified error description, error code and error ID.
- Parameters
-
reason | - the description of the error |
code | - the error code |
eid | - the error ID |
- Returns
- A created exception
+ (instancetype) exceptionWithUnsupportedType: |
|
(NSString *) |
type |
|
Returns an unsupported object number type exception SCL-20011 created by using the specified unsupported number object type name.
- Parameters
-
type | - the name of the unsupported number object type |
- Returns
- A created exception
- (instancetype) initWithReason: |
|
(NSString *) |
reason |
code: |
|
(SCInteger) |
code |
eid: |
|
(NSString *) |
eid |
|
|
| |
Initializes an unspecified number object exception by using the specified error description, error code and error ID.
- Attention
- Designed initializer
- Parameters
-
reason | - the error description |
code | - the error code |
eid | - the error ID |
- Returns
- A newly initialized exception
- (NSString*) unsupportedType |
|
readnonatomicretain |
Unsupported number object type
The documentation for this class was generated from the following files: