Samond Classes Library 1.1.6-RELEASE build 132
Classes | Defines

SCTextException.h File Reference

Class SCTextException header file. More...

#import <Foundation/Foundation.h>
#import <scl/SCTypes.h>
#import <scl/SCException.h>
#import <scl/SCTextIndex.h>

Go to the source code of this file.

Classes

class  SCTextException
 Strings list, text and text files exception class. More...

Defines

#define SCTextExceptionClass   @"SCTextException"
 SCTextException class name.
Exception name constant
#define SCTextErrorName   @"SCText"
 Name of exception.

Exception supporting types

enum  _SCTextError {
  SCTextErrorUnspecified = 0, SCTextErrorReadOnly = 1, SCTextErrorEmptyString = 2, SCTextErrorOverflow = 3,
  SCTextErrorNilSource = 5, SCTextErrorUnsupportedType = 6, SCTextErrorIndex = 8, SCTextErrorEmpty = 9,
  SCTextErrorUnexpected = 10, SCTextErrorRange = 11, SCTextErrorNilAlgorithm = 14, SCTextErrorIncorrectAlgorithm = 15,
  SCTextErrorNilIndexSet = 16, SCTextErrorIndexSetCount = 17, SCTextErrorIndexSet = 18, SCTextErrorDuplicatedString = 22,
  SCTextErrorTextIndex = 23, SCTextErrorIntersectedRanges = 24, SCTextErrorNilStream = 25, SCTextErrorIncorrectInputStream = 26,
  SCTextErrorClosedStream = 27, SCTextErrorEmptyPath = 28, SCTextErrorReadError = 29, SCTextErrorIncorrectOutputStream = 30,
  SCTextErrorWriteError = 31
}
typedef enum _SCTextError SCTextError
 Strings list, text and text files error type.

Detailed Description

Class SCTextException header file.

Contains the declaration of strings list, text and text files exception class.
File was introduced in version 1.1.4.


Typedef Documentation

Strings list, text and text files error type.

Declares the types of strings list, text and text files exceptions


Enumeration Type Documentation

Enum for SCTextError

Enumerator:
SCTextErrorUnspecified 

Unspecified text error.

SCTextErrorReadOnly 

Read only text error.

SCTextErrorEmptyString 

Empty string error.

SCTextErrorOverflow 

Text overflow error.

SCTextErrorNilSource 

Nil source text error.

SCTextErrorUnsupportedType 

Unsupported collection type error.

SCTextErrorIndex 

Incorrect strings list index error.

SCTextErrorEmpty 

Empty text error.

SCTextErrorUnexpected 

Unexpected class error.

SCTextErrorRange 

Incorrect text range error.

SCTextErrorNilAlgorithm 

Nil sorting algorithm error.

SCTextErrorIncorrectAlgorithm 

Incorrect sorting algorithm error.

SCTextErrorNilIndexSet 

Nil index set error.

SCTextErrorIndexSetCount 

Index set count error.

SCTextErrorIndexSet 

Incorrect index set error.

SCTextErrorDuplicatedString 

Duplicated string error.

SCTextErrorTextIndex 

Text index error.

SCTextErrorIntersectedRanges 

Ranges intersection error.

SCTextErrorNilStream 

Nil stream error.

SCTextErrorIncorrectInputStream 

Incorrect input stream error.

SCTextErrorClosedStream 

Closed stream error.

SCTextErrorEmptyPath 

Empty path error.

SCTextErrorReadError 

Read error.

SCTextErrorIncorrectOutputStream 

Incorrect output stream error.

SCTextErrorWriteError 

Write error.

 All Classes Files Functions Typedefs Enumerations Enumerator Defines