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

Class SCTextException 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  SCTextException
 Exception class SCTextException. More...
 

Class Constants

#define SCTextExceptionCalss   @"SCTextException"
 
#define SCTextErrorName   @"SCText"
 

Error ID Contants

#define SCTextEIDUnspecified   @"SCL-20060"
 
#define SCTextEIDSource   @"SCL-20061"
 
#define SCTextEIDInputStream   @"SCL-20062"
 
#define SCTextEIDReadOnly   @"SCL-20063"
 
#define SCTextEIDEmptyString   @"SCL-20064"
 
#define SCTextEIDClosedStream   @"SCL-20065"
 
#define SCTextEIDUnsupported   @"SCL-20066"
 
#define SCTextEIDRead   @"SCL-20067"
 
#define SCTextEIDEmptyPath   @"SCL-20068"
 
#define SCTextEIDDuplicated   @"SCL-20069"
 
#define SCTextEIDSorter   @"SCL-20070"
 
#define SCTextEIDOutputStream   @"SCL-20071"
 
#define SCTextEIDIndex   @"SCL-20072"
 
#define SCTextEIDRange   @"SCL-20073"
 
#define SCTextEIDIndexSet   @"SCL-20074"
 
#define SCTextEIDIndexesCount   @"SCL-20075"
 
#define SCTextEIDIntersected   @"SCL-20076"
 
#define SCTextEIDWrite   @"SCL-20077"
 

Class Support Types

enum  SCTextError {
  SCTextErrorUnspecified = -20060, SCTextErrorSource = -20061, SCTextErrorInputStream = -20062, SCTextErrorReadOnly = -20063,
  SCTextErrorEmptyString = -20064, SCTextErrorClosedStream = -20065, SCTextErrorUnsupported = -20066, SCTextErrorRead = -20067,
  SCTextErrorEmptyPath = -20068, SCTextErrorDuplicated = -20069, SCTextErrorSorter = -20070, SCTextErrorOutputStream = -20071,
  SCTextErrorIndex = -20072, SCTextErrorRange = -20073, SCTextErrorIndexSet = -20074, SCTextErrorIndexesCount = -20075,
  SCTextErrorIntersected = -20076, SCTextErrorWrite = -20077
}
 

Detailed Description

Class SCTextException header file.

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

Contains the class SCTextException declaration, which defines text object exceptions.

Macro Definition Documentation

#define SCTextEIDClosedStream   @"SCL-20065"

Closed stream error ID

#define SCTextEIDDuplicated   @"SCL-20069"

String unique violation error ID

#define SCTextEIDEmptyPath   @"SCL-20068"

Empty text file path error ID

#define SCTextEIDEmptyString   @"SCL-20064"

Null string adding error ID

#define SCTextEIDIndex   @"SCL-20072"

Incorrect string index error ID

#define SCTextEIDIndexesCount   @"SCL-20075"

Number of indexes does not match number of strings error ID

#define SCTextEIDIndexSet   @"SCL-20074"

Incorrect index set error ID

#define SCTextEIDInputStream   @"SCL-20062"

Incorrect input stream error ID

#define SCTextEIDIntersected   @"SCL-20076"

Intersected string ranges error ID

#define SCTextEIDOutputStream   @"SCL-20071"

Incorrect output stream error ID

#define SCTextEIDRange   @"SCL-20073"

Incorrect string range error ID

#define SCTextEIDRead   @"SCL-20067"

Reading error ID

#define SCTextEIDReadOnly   @"SCL-20063"

Text is read only error ID

#define SCTextEIDSorter   @"SCL-20070"

Incorrect strings sorter error ID

#define SCTextEIDSource   @"SCL-20061"

Source object does not exists error ID

#define SCTextEIDUnspecified   @"SCL-20060"

Unspecified text error ID

#define SCTextEIDUnsupported   @"SCL-20066"

Not string instance error ID

#define SCTextEIDWrite   @"SCL-20077"

Writing error ID

#define SCTextErrorName   @"SCText"

Name of the text exception

#define SCTextExceptionCalss   @"SCTextException"

A name of the class SCTextException

Enumeration Type Documentation

Declares a set of contants that indicate the text errors

Enumerator
SCTextErrorUnspecified 

Unspecified text error

SCTextErrorSource 

Source object does not exist

SCTextErrorInputStream 

Incorrect input stream

SCTextErrorReadOnly 

Text is read only

SCTextErrorEmptyString 

Null string adding

SCTextErrorClosedStream 

Closed stream

SCTextErrorUnsupported 

Not string instance

SCTextErrorRead 

Reading error

SCTextErrorEmptyPath 

Empty text file path

SCTextErrorDuplicated 

String unique violation

SCTextErrorSorter 

Incorrect strings sorter

SCTextErrorOutputStream 

Incorrect output stream

SCTextErrorIndex 

Incorrect string index

SCTextErrorRange 

Incorrect string range

SCTextErrorIndexSet 

Incorrect index set

SCTextErrorIndexesCount 

Number of indexes does not match number of strings

SCTextErrorIntersected 

Intersected string ranges

SCTextErrorWrite 

Writing error