Samond Classes Library 1.2.1-RELEASE build 181
Classes
SCCollectionException.h File Reference

Class SCCollectionException header file. More...

#import <scl/SCException.h>
#import <scl/SCCollection.h>

Go to the source code of this file.

Classes

class  SCCollectionException
 Exception class SCCollectionException. More...
 

Class Constants

#define SCCollectionExceptionClass   @"SCCollectionException"
 Class SCCollectionException name.
 
#define SCCollectionErrorName   @"SCCollection"
 Exception name.
 

Error ID Contants

#define SCCollectionEIDUnspecified   @"SCL-20040"
 Unspecified collection error ID.
 
#define SCCollectionEIDSource   @"SCL-20041"
 Source collection does not exists error ID.
 
#define SCCollectionEIDType   @"SCL-20042"
 Unsupported collection type error ID.
 
#define SCCollectionEIDReadOnly   @"SCL-20043"
 Collection is read only error ID.
 
#define SCCollectionEIDItem   @"SCL-20044"
 Null object adding error ID.
 
#define SCCollectionEIDObject   @"SCL-20045"
 Source object does not exists error ID.
 
#define SCCollectionEIDUnsupported   @"SCL-20046"
 Unsupported class error ID.
 
#define SCCollectionEIDUnknown   @"SCL-20047"
 Unknown class error ID.
 
#define SCCollectionEIDNotComparable   @"SCL-20048"
 Incomparable collection object error ID.
 
#define SCCollectionEIDNotSortable   @"SCL-20049"
 Collection does not supports sorting error ID.
 
#define SCCollectionEIDSorter   @"SCL-20050"
 Incorrect data sorter error ID.
 
#define SCCollectionEIDIndex   @"SCL-20052"
 Incorrect object index error ID.
 
#define SCCollectionEIDRange   @"SCL-20053"
 Incorrect objects range error ID.
 
#define SCCollectionEIDIndexSet   @"SCL-20054"
 Incorrect index set error ID.
 
#define SCCollectionEIDIndexSetCount   @"SCL-20055"
 Number of indexes does not match number of objects error ID.
 
#define SCCollectionEIDKey   @"SCL-20056"
 Incorrect object key error ID.
 
#define SCCollectionEIDKeysCount   @"SCL-20057"
 Number of keys does not match number of objects error ID.
 
#define SCCollectionEIDValue   @"SCL-20058"
 Empty value error ID.
 

Class Support Types

enum  _SCCollectionError {
  SCCollectionErrorUnspecified = -20040, SCCollectionErrorSource = -20041, SCCollectionErrorType = -20042, SCCollectionErrorReadOnly = -20043,
  SCCollectionErrorItem = -20044, SCCollectionErrorObject = -20045, SCCollectionErrorUnsupported = -20046, SCCollectionErrorUnknown = -20047,
  SCCollectionErrorNotComparable = -20048, SCCollectionErrorNotSortable = -20049, SCCollectionErrorSorter = -20050, SCCollectionErrorIndex = -20052,
  SCCollectionErrorRange = -20053, SCCollectionErrorIndexSet = -20054, SCCollectionErrorIndexSetCount = -20055, SCCollectionErrorKey = -20056,
  SCCollectionErrorKeysCount = -20057, SCCollectionErrorValue = -20058
}
 
typedef enum _SCCollectionError SCCollectionError
 Collection errors data type. More...
 

Detailed Description

Class SCCollectionException header file.

SDK
macOS 10.6+, iOS 7.0+, GNUstep
Since
version 1.1.3

Contains the class SCCollectionException declaration, which defines collections exceptions.

Typedef Documentation

Collection errors data type.

Declares the collection error codes.

Enumeration Type Documentation

Set of type SCCollectionError constants.

Enumerator
SCCollectionErrorUnspecified 

Unspecified collection error.

SCCollectionErrorSource 

Source collection does not exists.

SCCollectionErrorType 

Unsupported collection type.

SCCollectionErrorReadOnly 

Collection is read only.

SCCollectionErrorItem 

Adding a null pointer.

SCCollectionErrorObject 

Source object does not exists.

SCCollectionErrorUnsupported 

Unsupported class.

SCCollectionErrorUnknown 

Unknown class.

SCCollectionErrorNotComparable 

Incomparable collection object.

SCCollectionErrorNotSortable 

Collection does not supports sorting.

SCCollectionErrorSorter 

Incorrect data sorter.

SCCollectionErrorIndex 

Incorrect object index.

SCCollectionErrorRange 

Incorrect objects range.

SCCollectionErrorIndexSet 

Incorrect index set.

SCCollectionErrorIndexSetCount 

Number of indexes does not match number of objects.

SCCollectionErrorKey 

Incorrect object key.

SCCollectionErrorKeysCount 

Number of keys does not match number of objects.

SCCollectionErrorValue 

Empty value.