Samond Classes Library 1.2.6-STABLE build 219
Classes
SCCollectionException.h File Reference

Class SCCollectionException header file. More...

#import <Foundation/Foundation.h>
#import <scl/SCCollectionProtocols.h>
#import <scl/SCException.h>

Go to the source code of this file.

Classes

class  SCCollectionException
 Exception class SCCollectionException. More...
 

Class Constants

#define SCCollectionExceptionClass   @"SCCollectionException"
 
#define SCCollectionErrorName   @"SCCollection"
 

Error ID Contants

#define SCCollectionEIDUnspecified   @"SCL-20040"
 
#define SCCollectionEIDSource   @"SCL-20041"
 
#define SCCollectionEIDType   @"SCL-20042"
 
#define SCCollectionEIDReadOnly   @"SCL-20043"
 
#define SCCollectionEIDItem   @"SCL-20044"
 
#define SCCollectionEIDObject   @"SCL-20045"
 
#define SCCollectionEIDUnsupported   @"SCL-20046"
 
#define SCCollectionEIDUnknown   @"SCL-20047"
 
#define SCCollectionEIDNotComparable   @"SCL-20048"
 
#define SCCollectionEIDNotSortable   @"SCL-20049"
 
#define SCCollectionEIDSorter   @"SCL-20050"
 
#define SCCollectionEIDIndex   @"SCL-20052"
 
#define SCCollectionEIDRange   @"SCL-20053"
 
#define SCCollectionEIDIndexSet   @"SCL-20054"
 
#define SCCollectionEIDIndexSetCount   @"SCL-20055"
 
#define SCCollectionEIDKey   @"SCL-20056"
 
#define SCCollectionEIDKeysCount   @"SCL-20057"
 
#define SCCollectionEIDValue   @"SCL-20058"
 

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
}
 

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.

Macro Definition Documentation

#define SCCollectionEIDIndex   @"SCL-20052"

Incorrect object index 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 SCCollectionEIDItem   @"SCL-20044"

Null object adding 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 SCCollectionEIDNotComparable   @"SCL-20048"

Incomparable collection object error ID

#define SCCollectionEIDNotSortable   @"SCL-20049"

Collection does not supports sorting error ID

#define SCCollectionEIDObject   @"SCL-20045"

Source object does not exists error ID

#define SCCollectionEIDRange   @"SCL-20053"

Incorrect objects range error ID

#define SCCollectionEIDReadOnly   @"SCL-20043"

Collection is read only error ID

#define SCCollectionEIDSorter   @"SCL-20050"

Incorrect data sorter error ID

#define SCCollectionEIDSource   @"SCL-20041"

Source collection does not exists error ID

#define SCCollectionEIDType   @"SCL-20042"

Unsupported collection type error ID

#define SCCollectionEIDUnknown   @"SCL-20047"

Unknown class error ID

#define SCCollectionEIDUnspecified   @"SCL-20040"

Unspecified collection error ID

#define SCCollectionEIDUnsupported   @"SCL-20046"

Unsupported class error ID

#define SCCollectionEIDValue   @"SCL-20058"

Empty value error ID

#define SCCollectionErrorName   @"SCCollection"

Name of the collection exception

#define SCCollectionExceptionClass   @"SCCollectionException"

A name of the class SCCollectionException

Enumeration Type Documentation

Declares a set of contants that indicate the collection errors

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