Exception class SCCollectionException.
More...
#import <SCCollectionException.h>
Exception class SCCollectionException.
- Since
- version 1.1.3
Declares the collection exceptions.
Generated exceptions correspond to the following errors:
Returns a generic collection exception created by using the default settings.
- Returns
- A created exception
Returns an empty value exception SCL-20058 created by using the specified key.
- Parameters
-
- Returns
- A created exception
Returns an empty value exception SCL-20058 created by using the specified key and collection name.
- Parameters
-
key | - value key |
name | - collection name |
- Returns
- A created exception
Returns an incorrect index exception SCL-20052 created by using the specified incorrect index.
- Parameters
-
- Returns
- A created exception
Returns an incorrect index exception SCL-20052 created by using the specified incorrect index and collection name.
- Parameters
-
index | - incorrect index |
name | - collection name |
- Returns
- A created exception
Returns an indexes and objects count exception SCL-20055 created by using the specified number of indexes and number of objects.
- Parameters
-
indexes | - number of indexes |
objects | - number of objects |
- Returns
- A created exception
Returns an incorrect index set exception SCL-20054 created by using the specified index set.
- Parameters
-
indexSet | - incorrect index set |
- Returns
- A created exception
Returns an incorrect index set exception SCL-20054 created by using the specified index set and collection name.
- Parameters
-
indexSet | - incorrect index set |
name | - collection name |
- Returns
- A created exception
Returns a null object exception SCL-20044 created by using the specified collection type.
- Parameters
-
- Returns
- A created exception
Returns a null object exception SCL-20044 created by using the specified collection type and collection name.
- Parameters
-
type | - collection type |
name | - collection name |
- Returns
- A created exception
Returns an incorrect key exception SCL-20056 created by using the specified incorrect key.
- Parameters
-
key | - incorrect object key |
- Returns
- A created exception
Returns an incorrect key exception SCL-20056 created by using the specified incorrect key and collection name.
- Parameters
-
key | - incorrect object key |
name | - collection name |
- Returns
- A created exception
Returns a keys and objects count exception SCL-20057 created by using the specified number of keys and number of objects.
- Parameters
-
keys | - number of keys |
objects | - number of objects |
- Returns
- A created exception
Returns a generic collection exception created by using the specified collection name.
- Parameters
-
- Returns
- A created exception
Returns an exception created by using the specified collection name, error description, error code and error ID.
- Parameters
-
name | - collection name |
reason | - error description |
code | - error code |
eid | - error ID |
- Returns
- A created exception
Returns an incomparable object exception SCL-20048 created by using the specified collection type.
- Parameters
-
- Returns
- A created exception
Returns an incomparable object exception SCL-20048 created by using the specified collection type and collection name.
- Parameters
-
type | - collection type |
name | - collection name |
- Returns
- A created exception
Returns an unsortable collection exception SCL-20049 created by using the specified collection type.
- Parameters
-
- Returns
- A created exception
Returns an unsortable collection exception SCL-20049 created by using the specified collection type and collection name.
- Parameters
-
type | - collection type |
name | - collection name |
- Returns
- A created exception
Returns a source object exception SCL-20045 created by using the default settings.
- Returns
- A created exception
Returns an incorrect range exception SCL-20053 created by using the specified incorrect range.
- Parameters
-
- Returns
- A created exception
Returns an incorrect range exception SCL-20053 created by using the specified incorrect range and collection name.
- Parameters
-
range | - incorrect range |
name | - collection name |
- Returns
- A created exception
Returns a read only exception SCL-20043 created by using the specified collection type.
- Parameters
-
- Returns
- A created exception
Returns a read only exception SCL-20043 created by using the specified collection type and collection name.
- Parameters
-
type | - collection type |
name | - collection name |
- Returns
- A created exception
Returns an exception created by using the specified error description, error code and error ID.
- Parameters
-
reason | - error description |
code | - error code |
eid | - error ID |
- Returns
- A created exception
Returns an incorrect sorter exception SCL-20050 created by using the specified collection type.
- Parameters
-
- Returns
- A created exception
Returns an incorrect sorter exception SCL-20050 created by using the specified collection type and collection name.
- Parameters
-
type | - collection type |
name | - collection name |
- Returns
- A created exception
Returns a source exception SCL-20041 created by using the defult settings.
- Returns
- A created exception
+ (SCCollectionException *) exceptionWithUnexpected: |
|
(NSString *) |
unexpected |
expected: |
|
(NSString *) |
expected |
type: |
|
(NSString *) |
type |
|
|
| |
Returns an unexpected class exception SCL-20051 created by using the specifies unexpected class name, expected class name and collection type.
- Parameters
-
unexpected | - unexpected class name |
expected | - expected class name |
type | - collection type |
- Returns
- A created exception
+ (SCCollectionException *) exceptionWithUnexpected: |
|
(NSString *) |
unexpected |
expected: |
|
(NSString *) |
expected |
type: |
|
(NSString *) |
type |
name: |
|
(NSString *) |
name |
|
|
| |
Returns an unexpected class exception SCL-20051 created by using the specified unexpected class name, expected class name, collection type and collection name.
- Parameters
-
unexpected | - unexpected class name |
expected | - expected class name |
type | - collection type |
name | - collection name |
- Returns
- A created exception
Returns an unknown class exception SCL-20047 created by using the specified unknown class name and collection type.
- Parameters
-
cname | - unknown class name |
type | - collection type |
- Returns
- A created exception
+ (SCCollectionException *) exceptionWithUnknown: |
|
(NSString *) |
cname |
type: |
|
(NSString *) |
type |
name: |
|
(NSString *) |
name |
|
|
| |
Returns an unknown class exception SCL-20047 created by using the specified unknown class name, collection type and collection name.
- Parameters
-
cname | - unknown class name |
type | - collection type |
name | - collection name |
- Returns
- A created exception
Returns an unsupported class exception SCL-20046 created by using the specified unsupported class name and collection type.
- Parameters
-
cname | - unsupported class name |
type | - collection type |
- Returns
- A created exception
+ (SCCollectionException *) exceptionWithUnsupported: |
|
(NSString *) |
cname |
type: |
|
(NSString *) |
type |
name: |
|
(NSString *) |
name |
|
|
| |
Returns an unsupported class exception SCL-20046 created by using the specified unsupported class name, collection type and collection name.
- Parameters
-
cname | - unsupported class name |
type | - collection type |
name | - collection name |
- Returns
- A created exception
Returns an unsupported collection type exception SCL-20042 created by using the specified unsupported type name.
- Parameters
-
type | - unsupported type name |
- Returns
- A created exception
Initializes a generic collection exception using the default settings.
- Returns
- A newly initialized exception
- (id) initValueForKey: |
|
(NSString *) |
key |
|
Initializes an empty value exception SCL-20058 using the specified key.
- Parameters
-
- Returns
- A newly initialized exception
Initializes an empty value exception SCL-20058 using the specified key and collection name.
- Parameters
-
key | - value key |
name | - collection name |
- Returns
- A newly initialized exception
- (id) initWithIndex: |
|
(SCIndex) |
index |
|
Initializes an incorrect index exception SCL-20052 using the specified incorrect index.
- Parameters
-
- Returns
- A newly initialized exception
Initializes an incorrect index exception SCL-20052 using the specified incorrect index and collection name.
- Parameters
-
index | - incorrect index |
name | - collection name |
- Returns
- A newly initialized exception
- (id) initWithIndexesCount: |
|
(SCULong) |
indexes |
objectsCount: |
|
(SCULong) |
objects |
|
|
| |
Initializes an indexes and objects count exception SCL-20055 created by using the specified number of indexes and number of objects.
- Parameters
-
indexes | - number of indexes |
objects | - number of objects |
- Returns
- A newly initialized exception
- (id) initWithIndexSet: |
|
(NSIndexSet *) |
indexSet |
|
Initializes an incorrect index set exception SCL-20054 using the specified index set.
- Parameters
-
indexSet | - incorrect index set |
- Returns
- A newly initializes exception
Initializes an incorrect index set exception SCL-20054 using the specified index set and collection name.
- Parameters
-
indexSet | - incorrect index set |
name | - collection name |
- Returns
- A newly initialized exception
- (id) initWithItemType: |
|
(NSString *) |
type |
|
Initializes a null object exception SCL-20044 using the specified collection type.
- Parameters
-
- Returns
- A newly initialized exception
Initializes a null object exception SCL-20044 using the specified collection type and collection name.
- Parameters
-
type | - collection type |
name | - collection name |
- Returns
- A newly initialized exception
- (id) initWithKey: |
|
(NSString *) |
key |
|
Initializes an incorrect key exception SCL-20056 using the specified incorrect key.
- Parameters
-
key | - incorrect object key |
- Returns
- A newly initialized exception
- (id) initWithKey: |
|
(NSString *) |
key |
name: |
|
(NSString *) |
name |
|
|
| |
Initializes an incorrect key exception SCL-20056 using the specified incorrect key and collection name.
- Parameters
-
key | - incorrect object key |
name | - collection name |
- Returns
- A newly initialized exception
- (id) initWithKeysCount: |
|
(SCULong) |
keys |
objectsCount: |
|
(SCULong) |
objects |
|
|
| |
Initializes a keys and objects count exception SCL-20057 using the specified number of keys and number of objects.
- Parameters
-
keys | - number of keys |
objects | - number of objects |
- Returns
- A newly initialized exception
- (id) initWithName: |
|
(NSString *) |
name |
|
Initializes a generic collection exception using the specified collection name.
- Parameters
-
- Returns
- A newly initialized exception
- (id) initWithName: |
|
(NSString *) |
name |
reason: |
|
(NSString *) |
reason |
code: |
|
(SCInteger) |
code |
eid: |
|
(NSString *) |
eid |
|
|
| |
Initializes an exception using the specified collection name, error description, error code and error ID.
- Attention
- Designed initializer
- Parameters
-
name | - collection name |
reason | - error description |
code | - error code |
eid | - error id |
- Returns
- A newly initialized exception
Reimplemented from SCException.
- (id) initWithNotComparableType: |
|
(NSString *) |
type |
|
Initializes an incomparable object exception SCL-20048 using the specified collection type.
- Parameters
-
- Returns
- A newly initialized exception
Initializes an incomparable object exception SCL-20048 using the specified collection type and collection name.
- Parameters
-
type | - collection type |
name | - collection name |
- Returns
- A newly initialized exception
- (id) initWithNotSortableType: |
|
(NSString *) |
type |
|
Initializes an unsortable collection exception SCL-20049 using the specified collection type.
- Parameters
-
- Returns
- A newly initialized exception
Initializes an unsortable collection exception SCL-20049 using the specified collection type and collection name.
- Parameters
-
type | - collection type |
name | - collection name |
- Returns
- A newly initialized exception
Initializes a source object exception SCL-20045 using the defult settings.
- Returns
- A newly initialized exception
- (id) initWithRange: |
|
(NSRange) |
range |
|
Initializes an incorrect range exception SCL-20053 using the specified incorrect range.
- Parameters
-
- Returns
- A newly initialized exception
Initializes an incorrect range exception SCL-20053 using the specified incorrect range and collection name.
- Parameters
-
range | - incorrect range |
name | - collection name |
- Returns
- A newly initialized exception
- (id) initWithReadOnlyType: |
|
(NSString *) |
type |
|
Initializes a read only exception SCL-20043 using the specified collection type.
- Parameters
-
- Returns
- A newly initialized exception
Initializes a read only exception SCL-20043 using the specified collection type and collection name.
- Parameters
-
type | - collection type |
name | - collection name |
- Returns
- A newly initialized exception
- (id) initWithReason: |
|
(NSString *) |
reason |
code: |
|
(SCInteger) |
code |
eid: |
|
(NSString *) |
eid |
|
|
| |
Initializes an exception using the specified error description, error code and error ID.
- Parameters
-
reason | - error description |
code | - error code |
eid | - error ID |
- Returns
- A newly initialized exception
- (id) initWithSorterType: |
|
(NSString *) |
type |
|
Initializes an incorect sorter exception SCL-20050 using the specified collection type.
- Parameters
-
- Returns
- A newly initialized exception
Initializes an incorrect sorter exception SCL-20050 using the specified collection type and collection name.
- Parameters
-
type | - collection type |
name | - collection name |
- Returns
- A newly initialized exception
Initialies a source exception SCL-20041 using the default settings.
- Returns
- A newly initialized exception
- (id) initWithUnexpected: |
|
(NSString *) |
unexpected |
expected: |
|
(NSString *) |
expected |
type: |
|
(NSString *) |
type |
|
|
| |
Initializes an unexpected class exception SCL-20051 using the specified unexpected class name, expected class name and collection type.
- Parameters
-
unexpected | - unexpected class name |
expected | - expected class name |
type | - collection type |
- Returns
- A newly initialized exception
- (id) initWithUnexpected: |
|
(NSString *) |
unexpected |
expected: |
|
(NSString *) |
expected |
type: |
|
(NSString *) |
type |
name: |
|
(NSString *) |
name |
|
|
| |
Initializes an unexpected class exception SCL-20051 using the specified unexpected class name, expected class name, collection type and collection name.
- Parameters
-
unexpected | - unexpected class name |
expected | - expected class name |
type | - collection type |
name | - collection name |
- Returns
- A newly initialized exception
- (id) initWithUnknown: |
|
(NSString *) |
cname |
type: |
|
(NSString *) |
type |
|
|
| |
Initializes an unknown class exception SCL-20047 using the specified unknown class name and collection type.
- Parameters
-
cname | - unknown class name |
type | - collection type |
- Returns
- A newly initialized exception
- (id) initWithUnknown: |
|
(NSString *) |
cname |
type: |
|
(NSString *) |
type |
name: |
|
(NSString *) |
name |
|
|
| |
Initializes an unknown class exception SCL-20047 using the specified unknown class name, collection type and collection name.
- Parameters
-
cname | - unknown class name |
type | - collection type |
name | - collection name |
- Returns
- A newly initialized exception
- (id) initWithUnsupported: |
|
(NSString *) |
cname |
type: |
|
(NSString *) |
type |
|
|
| |
Initializes an unsupported class exception SCL-20046 using the specified unsupported class name and collection type.
- Parameters
-
cname | - unsupported class name |
type | - collection type |
- Returns
- A newly initialized exception
- (id) initWithUnsupported: |
|
(NSString *) |
cname |
type: |
|
(NSString *) |
type |
name: |
|
(NSString *) |
name |
|
|
| |
Initializes an unsupported class exception SCL-20046 using the specified unsupported class name, collection type and collection name.
- Parameters
-
cname | - unsupported class name |
type | - collection type |
name | - collection name |
- Returns
- A newly initialized exception
- (id) initWithUnsupportedType: |
|
(NSString *) |
type |
|
Initializes an unsupported collection type exception SCL-20042 using the specified unsupported type name.
- Parameters
-
type | - unsupported type name |
- Returns
- A newly initialized exception
- (NSString *) collectionName |
|
readnonatomicretain |
Erroneous collection name
- (NSIndexSet *) indexSet |
|
readnonatomicretain |
- (NSString *) unexpected |
|
readnonatomicretain |
- (NSString *) unsupported |
|
readnonatomicretain |
The documentation for this class was generated from the following files: