Samond Classes Library 1.2.6-STABLE build 219
List of all members
SCNumberException Class Reference

Number object exceptions class. More...

#import <SCNumberException.h>

+ Inheritance diagram for SCNumberException:

Instance Properties

NSString * unsupportedType
 

Creating and Initializing Unspecified Number Object Exception

(instancetype) + exceptionWithReason:code:eid:
 
(instancetype) + exception
 
(instancetype) - initWithReason:code:eid:
 

Creating Unsupported Number Object Type Exception (SCL-20011)

(instancetype) + exceptionWithUnsupportedType:
 
(instancetype) + exceptionWithNumberUnsupportedType
 

Additional Inherited Members

- Instance Methods inherited from SCException
(instancetype) - initWithName:reason:code:eid:
 
- Properties inherited from SCException
SCInteger code
 
NSString * eid
 

Detailed Description

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:

Method Documentation

+ (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

Property Documentation

- (NSString*) unsupportedType
readnonatomicretain

Unsupported number object type


The documentation for this class was generated from the following files: