Samond Classes Library 1.2.0-RELEASE build 166
List of all members
SCNumberException Class Reference

Number object exceptions class. More...

#import <SCNumberException.h>

Inheritance diagram for SCNumberException:
SCException

Instance Properties

NSString * unsupportedType
 

Creating and Initializing Unspecified Number Object Exception

(id) - initWithReason:code:eid:
 
(id) - init
 
(SCNumberException *) + exceptionWithReason:code:eid:
 
(SCNumberException *) + exception
 

Creating and Initializing Unsupported Number Object Type Exception

(id) - initWithUnsupportedType:
 
(id) - initWithNumberUnsupportedType
 
(SCNumberException *) + exceptionWithUnsupportedType:
 
(SCNumberException *) + exceptionWithNumberUnsupportedType
 

Additional Inherited Members

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

Detailed Description

Number object exceptions class.

Since
version 1.1.3

Implements the exceptions of the number objects NSNumber(SCNumber).
Class defines the following errors:

Method Documentation

+ (SCNumberException *) exception

Returns an unspecified number object exception created by using the default settings.

Returns
A created exception
+ (SCNumberException *) exceptionWithNumberUnsupportedType

Returns an unsupported object number type exception SCL-20011 created by using the default settings.

Returns
A created exception
+ (SCNumberException *) 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
+ (SCNumberException *) 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
- (id) init

Initializes an unspecified number object exception by using the default settings.

Returns
A newly initialized exception
- (id) initWithNumberUnsupportedType

Initializes an unsupported number object type exception SCL-20011 by using the default settings.

Returns
A newly initialized exception
- (id) 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
- (id) initWithUnsupportedType: (NSString *)  type

Initializes an unsupported number object type exception SCL-20011 by using the specified unsupported number object type name.

Parameters
type- the name of the unsupported number object type
Returns
A newly initialized exception

Property Documentation

- (NSString *) unsupportedType
readatomicretain

Unsupported number object type


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