Samond Classes Library 1.1.6-RELEASE build 132

SCNumberException Class Reference

Number exception class. More...

#import <SCNumberException.h>

Inheritance diagram for SCNumberException:
SCException

List of all members.

Public Member Functions

Querying Exception Properties
(SCNumberError- type
(NSString *) - unsupportedType

Creating and Initializing Generic Number Exception

(SCNumberException *) + exception
(SCNumberException *) + exceptionWithType:reason:
(SCNumberException *) + exceptionWithType:
(SCNumberException *) + exceptionWithReason:
(id) - init
(id) - initWithType:reason:
(id) - initWithType:
(id) - initWithReason:

Creating and Initializing Unsupported Type Exception

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

Detailed Description

Number exception class.

Exception generates when number error detected.
Class was introduced in version 1.1.3.

Class declares the following properties:


Member Function Documentation

+ (SCNumberException *) exception

Returns the number exception created by using the default error description.

Returns:
A created exception
+ (SCNumberException *) exceptionWithNumberUnsupportedType

Returns the unsupported type exception created by using the default error description.

Returns:
A created exception
+ (SCNumberException *) exceptionWithNumberUnsupportedTypeReason: (NSString *)  reason

Returns the unsupported type exception created by using the specified error description.

Parameters:
reason- error description
Returns:
A created exception
+ (SCNumberException *) exceptionWithReason: (NSString *)  reason

Returns the number exception created by using the specified error description.

Parameters:
reason- error description
Returns:
A created exception
+ (SCNumberException *) exceptionWithType: (SCNumberError type

Returns the number exception created by using the specified exception type.

Parameters:
type- exception type
Returns:
A created exception
+ (SCNumberException *) exceptionWithType: (SCNumberError type
reason: (NSString *)  reason 

Returns the number exception created by using the specified exception type and error description.

Parameters:
type- exception type
reason- error description
Returns:
A created exception
+ (SCNumberException *) exceptionWithUnsupportedType: (NSString *)  type

Returns the unsupported type exception created by using the specified unsupported type name.

Parameters:
type- unsupported type name
Returns:
A created exception
+ (SCNumberException *) exceptionWithUnsupportedType: (NSString *)  type
reason: (NSString *)  reason 

Returns the unsupported type exception created by using the specified unsupported type name and error description.

Parameters:
type- unsupported type name
reason- error description
Returns:
A created exception
- (id) init

Initializes the number exception using the default error description.

Returns:
A newly initialized exception
- (id) initWithNumberUnsupportedType

Initializes the unsupported type exception using the default error description.

Returns:
A newly initialized exception
- (id) initWithNumberUnsupportedTypeReason: (NSString *)  reason

Initializes the unsupported type exception using the specified error description.

Parameters:
reason- error description
Returns:
A newly initialized exception
- (id) initWithReason: (NSString *)  reason

Initializes the number exception using the specified error description.

Parameters:
reason- error description
Returns:
A newly initialized exception
- (id) initWithType: (SCNumberError type

Initializes the number exception using the specified exception type.

Parameters:
type- exception type
Returns:
A newly initialized exception
- (id) initWithType: (SCNumberError type
reason: (NSString *)  reason 

Initializes the number exception using the specified exception type and error description.

Parameters:
type- exception type
reason- error description
Returns:
A newly initialized exception
- (id) initWithUnsupportedType: (NSString *)  type

Initializes the unsupported type exception using the specified unsupported type name.

Parameters:
type- unsupported type name
Returns:
A newly initialized exception
- (id) initWithUnsupportedType: (NSString *)  type
reason: (NSString *)  reason 

Initializes the unsupported type exception using the specified unsupported type name and error description.

Parameters:
type- unsupported type name
reason- error description
Returns:
A newly initialized exception
- (SCNumberError) type

Returns the exception type.

Returns:
Exception type
- (NSString *) unsupportedType

Returns the unsupported type name.

Returns:
Type name

The documentation for this class was generated from the following files:
 All Classes Files Functions Typedefs Enumerations Enumerator Defines