Samond Classes Library 1.1.6-RELEASE build 132

SCReadOnlyException Class Reference

Attemp to change the read-only data exception class. More...

#import <SCReadOnlyException.h>

Inheritance diagram for SCReadOnlyException:
SCException

List of all members.

Public Member Functions

Initializing Read Only Exception
(id) - init
(id) - initWithReason:
(id) - initWithReadOnlyData:
Querying Exception Properties
(NSString *) - readOnlyData

Static Public Member Functions

Creating Read Only Exception
(SCReadOnlyException *) + exception
(SCReadOnlyException *) + exceptionWithReason:
(SCReadOnlyException *) + exceptionWithReadOnlyData:

Detailed Description

Attemp to change the read-only data exception class.

Exception generates when you try to change the read-only data.
Class was introduced in version 1.1.3.


Member Function Documentation

+ (SCReadOnlyException *) exception

Returns an exception created with default description and without additional information.

Returns:
A created exception
+ (SCReadOnlyException *) exceptionWithReadOnlyData: (NSString *)  data

Returns an exception created by using the specified read only data.

Parameters:
data- read only data
Returns:
A created exception
+ (SCReadOnlyException *) exceptionWithReason: (NSString *)  reason

Returns an exception created by using the specified description.

Parameters:
reason- exception description
Returns:
A created exception
- (id) init

Initializes the exception with default description and without additional information.

Returns:
A newly initialized exception
- (id) initWithReadOnlyData: (NSString *)  data

Initializes the exception with the specified read only data.

Parameters:
data- read only data
Returns:
A newly initialized exception
- (id) initWithReason: (NSString *)  reason

Initializes the exception with the specified description.

Parameters:
reason- exception description
Returns:
A newly initialized exception
- (NSString *) readOnlyData

Returns the read only data.

Returns:
Read only data

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