Samond Classes Library 1.1.6-RELEASE build 132

SCTextException Class Reference

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

#import <SCTextException.h>

Inheritance diagram for SCTextException:
SCException

List of all members.

Public Member Functions

Querying Exception Properties
(SCTextError- type
(NSString *) - textName
(SCULong- capacity
(NSString *) - unsupportedType
(SCIndex- index
(NSString *) - unexpected
(SCULong- indexSetCount
(SCULong- stringsCount
(NSIndexSet *) - indexSet
(NSString *) - duplicated
(NSRange) - range
(SCTextIndex *) - textIndex
(NSRange) - intersectedRange
(SCStream *) - stream

Creating and Initializing Generic Text Exception

(SCTextException *) + exceptionWithText:type:reason:
(SCTextException *) + exceptionWithText:type:
(SCTextException *) + exceptionWithText:reason:
(SCTextException *) + exceptionWithText:
(SCTextException *) + exceptionWithType:reason:
(SCTextException *) + exceptionWithType:
(SCTextException *) + exceptionWithReason:
(SCTextException *) + exception
(id) - initWithText:type:reason:
(id) - initWithText:type:
(id) - initWithText:reason:
(id) - initWithText:
(id) - initWithType:reason:
(id) - initWithType:
(id) - initWithReason:
(id) - init

Creating and Initializing Read Only Text Exception

(SCTextException *) + exceptionWithReadOnlyText:reason:
(SCTextException *) + exceptionWithReadOnlyText:
(SCTextException *) + exceptionWithReadOnlyReason:
(SCTextException *) + exceptionWithReadOnly
(id) - initWithReadOnlyText:reason:
(id) - initWithReadOnlyText:
(id) - initWithReadOnlyReason:
(id) - initWithReadOnly

Creating and Initializing Text Empty String Exception

(SCTextException *) + exceptionWithEmptyStringInText:reason:
(SCTextException *) + exceptionWithEmptyStringInText:
(SCTextException *) + exceptionWithEmptyStringReason:
(SCTextException *) + exceptionWithEmptyString
(id) - initWithEmptyStringInText:reason:
(id) - initWithEmptyStringInText:
(id) - initWithEmptyStringReason:
(id) - initWithEmptyString

Creating and Initializing Text Overflow Exception

(SCTextException *) + exceptionWithText:capacity:reason:
(SCTextException *) + exceptionWithText:capacity:
(SCTextException *) + exceptionWithCapacityText:reason:
(SCTextException *) + exceptionWithCapacityText:
(SCTextException *) + exceptionWithCapacity:reason:
(SCTextException *) + exceptionWithCapacity:
(SCTextException *) + exceptionWithTextCapacityReason:
(SCTextException *) + exceptionWithTextCapacity
(id) - initWithText:capacity:reason:
(id) - initWithText:capacity:
(id) - initWithCapacityText:reason:
(id) - initWithCapacityText:
(id) - initWithCapacity:reason:
(id) - initWithCapacity:
(id) - initWithTextCapacityReason:
(id) - initWithTextCapacity

Creating and Initializing Nil Source Exception

(SCTextException *) + exceptionWithNilSourceReason:
(SCTextException *) + exceptionWithNilSource
(id) - initWithNilSourceReason:
(id) - initWithNilSource

Creating and Initializing Unsupported Collection Type Exception

(SCTextException *) + exceptionWithUnsupportedType:reason:
(SCTextException *) + exceptionWithUnsupportedType:
(id) - initWithUnsupportedType:reason:
(id) - initWithUnsupportedType:

Creating and Initializing Incorrect Index Exception

(SCTextException *) + exceptionWithText:index:reason:
(SCTextException *) + exceptionWithText:index:
(SCTextException *) + exceptionWithIndex:reason:
(SCTextException *) + exceptionWithIndex:
(id) - initWithText:index:reason:
(id) - initWithText:index:
(id) - initWithIndex:reason:
(id) - initWithIndex:

Creating and Initializing Empty Text Exception

(SCTextException *) + exceptionWithEmptyText:reason:
(SCTextException *) + exceptionWithEmptyText:
(SCTextException *) + exceptionWithEmptyReason:
(SCTextException *) + exceptionWithEmpty
(id) - initWithEmptyText:reason:
(id) - initWithEmptyText:
(id) - initWithEmptyReason:
(id) - initWithEmpty

Creating and Initializing Unexpected Class Exception

(SCTextException *) + exceptionWithUnexpected:reason:
(SCTextException *) + exceptionWithUnexpected:
(id) - initWithUnexpected:reason:
(id) - initWithUnexpected:

Creating and Initializing Nil Sorting Algorithm Exception

(SCTextException *) + exceptionWithNilAlgorithmForText:reason:
(SCTextException *) + exceptionWithNilAlgorithmForText:
(SCTextException *) + exceptionWithNilAlgorithmReason:
(SCTextException *) + exceptionWithNilAlgorithm
(id) - initWithNilAlgorithmForText:reason:
(id) - initWithNilAlgorithmForText:
(id) - initWithNilAlgorithmReason:
(id) - initWithNilAlgorithm

Creating and Initializing Incorrect Sorting Algorithm Exception

(SCTextException *) + exceptionWithIncorrectAlgorithmForText:reason:
(SCTextException *) + exceptionWithIncorrectAlgorithmForText:
(SCTextException *) + exceptionWithIncorrectAlgorithmReason:
(SCTextException *) + exceptionWithIncorrectAlgorithm
(id) - initWithIncorrectAlgorithmForText:reason:
(id) - initWithIncorrectAlgorithmForText:
(id) - initWithIncorrectAlgorithmReason:
(id) - initWithIncorrectAlgorithm

Creating and Initializing Nil Index Set Exception

(SCTextException *) + exceptionWithNilIndexSetReason:
(SCTextException *) + exceptionWithNilIndexSet
(id) - initWithNilIndexSetReason:
(id) - initWithNilIndexSet

Creating and Initializing Incorrect Index Set Count Exception

(SCTextException *) + exceptionWithIndexSetCount:stringsCount:reason:
(SCTextException *) + exceptionWithIndexSetCount:stringsCount:
(id) - initWithIndexSetCount:stringsCount:reason:
(id) - initWithIndexSetCount:stringsCount:

Creating and Initializing Incorrect Index Set Exception

(SCTextException *) + exceptionWithText:indexSet:reason:
(SCTextException *) + exceptionWithText:indexSet:
(SCTextException *) + exceptionWithIndexSet:reason:
(SCTextException *) + exceptionWithIndexSet:
(id) - initWithText:indexSet:reason:
(id) - initWithText:indexSet:
(id) - initWithIndexSet:reason:
(id) - initWithIndexSet:

Creating and Initializing Duplicated String Exception

(SCTextException *) + exceptionWithText:index:duplicated:reason:
(SCTextException *) + exceptionWithText:index:duplicated:
(SCTextException *) + exceptionWithIndex:duplicated:reason:
(SCTextException *) + exceptionWithIndex:duplicated:
(SCTextException *) + duplicatedExceptionWithText:reason:
(SCTextException *) + duplicatedExceptionWithText:
(SCTextException *) + duplicatedExceptionWithReason:
(SCTextException *) + duplicatedException
(id) - initWithText:index:duplicated:reason:
(id) - initWithText:index:duplicated:
(id) - initWithIndex:duplicated:reason:
(id) - initWithIndex:duplicated:
(id) - initDuplicatedWithText:reason:
(id) - initDuplicatedWithText:
(id) - initDuplicatedWithReason:
(id) - initDuplicated

Creating and Initializing Incorrect Text Range Exception

(SCTextException *) + exceptionWithText:range:reason:
(SCTextException *) + exceptionWithText:range:
(SCTextException *) + exceptionWithRange:reason:
(SCTextException *) + exceptionWithRange:
(id) - initWithText:range:reason:
(id) - initWithText:range:
(id) - initWithRange:reason:
(id) - initWithRange:

Creating and Initializing Incorrect Text Index Exception

(SCTextException *) + exceptionWithText:textIndex:reason:
(SCTextException *) + exceptionWithText:textIndex:
(SCTextException *) + exceptionWithTextIndex:reason:
(SCTextException *) + exceptionWithTextIndex:
(id) - initWithText:textIndex:reason:
(id) - initWithText:textIndex:
(id) - initWithTextIndex:reason:
(id) - initWithTextIndex:

Creating and Initializing Intersected Range Exception

(SCTextException *) + exceptionWithText:range:intersectedRange:reason:
(SCTextException *) + exceptionWithText:range:intersectedRange:
(SCTextException *) + exceptionWithRange:intersectedRange:reason:
(SCTextException *) + exceptionWithRange:intersectedRange:
(id) - initWithText:range:intersectedRange:reason:
(id) - initWithText:range:intersectedRange:
(id) - initWithRange:intersectedRange:reason:
(id) - initWithRange:intersectedRange:

Creating and Initializing Nil Stream Exception

(SCTextException *) + nilStreamExceptionWithText:reason:
(SCTextException *) + nilStreamExceptionWithText:
(SCTextException *) + nilStreamExceptionWithReason:
(SCTextException *) + nilStreamException
(id) - initNilStreamWithText:reason:
(id) - initNilStreamWithText:
(id) - initNilStreamWithReason:
(id) - initNilStream

Creating and Initializing Incorrect Input Stream Exception

(SCTextException *) + exceptionWithText:inputStream:reason:
(SCTextException *) + exceptionWithText:inputStream:
(SCTextException *) + exceptionWithInputStream:reason:
(SCTextException *) + exceptionWithInputStream:
(id) - initWithText:inputStream:reason:
(id) - initWithText:inputStream:
(id) - initWithInputStream:reason:
(id) - initWithInputStream:

Creating and Initializing Stream Not Open Exception

(SCTextException *) + exceptionWithText:closedStream:reason:
(SCTextException *) + exceptionWithText:closedStream:
(SCTextException *) + exceptionWithClosedStream:reason:
(SCTextException *) + exceptionWithClosedStream:
(id) - initWithText:closedStream:reason:
(id) - initWithText:closedStream:
(id) - initWithClosedStream:reason:
(id) - initWithClosedStream:

Creating and Initializing Empty Path Exception

(SCTextException *) + emptyPathExceptionWithText:reason:
(SCTextException *) + emptyPathExceptionWithText:
(SCTextException *) + emptyPathExceptionWithReason:
(SCTextException *) + emptyPathException
(id) - initEmptyPathWithText:reason:
(id) - initEmptyPathWithText:
(id) - initEmptyPathWithReason:
(id) - initEmptyPath

Creating and Initializing Read Exception

(SCTextException *) + readErrorExceptionWithText:reason:
(SCTextException *) + readErrorExceptionWithText:
(SCTextException *) + readErrorExceptionWithReason:
(SCTextException *) + readErrorException
(id) - initReadErrorWithText:reason:
(id) - initReadErrorWithText:
(id) - initReadErrorWithReason:
(id) - initReadError

Creating and Initializing Incorrect Output Stream Exception

(SCTextException *) + exceptionWithText:outputStream:reason:
(SCTextException *) + exceptionWithText:outputStream:
(SCTextException *) + exceptionWithOutputStream:reason:
(SCTextException *) + exceptionWithOutputStream:
(id) - initWithText:outputStream:reason:
(id) - initWithText:outputStream:
(id) - initWithOutputStream:reason:
(id) - initWithOutputStream:

Creating and Initializing Write Exception

(SCTextException *) + writeErrorExceptionWithText:reason:
(SCTextException *) + writeErrorExceptionWithText:
(SCTextException *) + writeErrorExceptionWithReason:
(SCTextException *) + writeErrorException
(id) - initWriteErrorWithText:reason:
(id) - initWriteErrorWithText:
(id) - initWriteErrorWithReason:
(id) - initWriteError

Detailed Description

Strings list, text and text files exception class.

Exception generates when list, text or text file error detected.
Class was introduced in version 1.1.4.

Class declares the following properties:


Member Function Documentation

- (SCULong) capacity

Returns the text capacity.

Returns:
Text capacity
- (NSString *) duplicated

Returns the duplicated string.

Returns:
Duplicated string
+ (SCTextException *) duplicatedException

Returns the duplicate string exception.

Returns:
A created exception
+ (SCTextException *) duplicatedExceptionWithReason: (NSString *)  reason

Returns the duplicate string exception created by using the specified error description.

Parameters:
reason- error description
Returns:
A created exception
+ (SCTextException *) duplicatedExceptionWithText: (NSString *)  text

Returns the duplicate string exception created by using the specified text name.

Parameters:
text- text name
Returns:
A created exception
+ (SCTextException *) duplicatedExceptionWithText: (NSString *)  text
reason: (NSString *)  reason 

Returns the duplicate string exception created by using the specified text name and error description.

Parameters:
text- text name
reason- error description
Returns:
A created exception
+ (SCTextException *) emptyPathException

Returns an empty path exception created by using the default error description.

Returns:
A created exception
+ (SCTextException *) emptyPathExceptionWithReason: (NSString *)  reason

Returns an empty path exception created by using the specified error description.

Parameters:
reason- error description
Returns:
A created exception
+ (SCTextException *) emptyPathExceptionWithText: (NSString *)  text

Returns an empty path exception created by using the specified text file name and default error description.

Parameters:
text- text file name
Returns:
A created exception
+ (SCTextException *) emptyPathExceptionWithText: (NSString *)  text
reason: (NSString *)  reason 

Returns an empty path exception created by using the specified text file name and error description.

Parameters:
text- text file name
reason- error description
Returns:
A created exception
+ (SCTextException *) exception

Returns the generic text exception created by using the default error description.

Returns:
A created exception
+ (SCTextException *) exceptionWithCapacity: (SCULong capacity

Returns the overflow exception created by using the specified text capacity.

Parameters:
capacity- text capacity
Returns:
A created exception
+ (SCTextException *) exceptionWithCapacity: (SCULong capacity
reason: (NSString *)  reason 

Returns the overflow exception created by using the specified text capacity and error description.

Parameters:
capacity- text capacity
reason- error description
Returns:
A created exception
+ (SCTextException *) exceptionWithCapacityText: (NSString *)  text

Returns the overflow exception created by using the specified text name.

Parameters:
text- text name
Returns:
A created exception
+ (SCTextException *) exceptionWithCapacityText: (NSString *)  text
reason: (NSString *)  reason 

Returns the overflow exception created by using the specified text name and error description.

Parameters:
text- text name
reason- error description
Returns:
A created exception
+ (SCTextException *) exceptionWithClosedStream: (SCStream *)  stream

Returns a closed stream exception created by using the specified closed stream and default error description.

Parameters:
stream- closed stream
Returns:
A created exception
+ (SCTextException *) exceptionWithClosedStream: (SCStream *)  stream
reason: (NSString *)  reason 

Returns a closed stream exception created by using the specified closed stream and error description.

Parameters:
stream- closed stream
reason- error description
Returns:
A created exception
+ (SCTextException *) exceptionWithEmpty

Returns the empty text exception created by using the default error description.

Returns:
A created exception
+ (SCTextException *) exceptionWithEmptyReason: (NSString *)  reason

Returns the empty text exception created by using the specified error description.

Parameters:
reason- error description
Returns:
A created exception
+ (SCTextException *) exceptionWithEmptyString

Returns the empty string exception created by using the default error description.

Returns:
A created exception
+ (SCTextException *) exceptionWithEmptyStringInText: (NSString *)  text

Returns the empty string exception created by using the specified text name.

Parameters:
text- text name
Returns:
A created exception
+ (SCTextException *) exceptionWithEmptyStringInText: (NSString *)  text
reason: (NSString *)  reason 

Returns the empty string exception created by using the specified text name and error description.

Parameters:
text- text name
reason- error description
Returns:
A created exception
+ (SCTextException *) exceptionWithEmptyStringReason: (NSString *)  reason

Returns the empty string exception created by using the specified error description.

Parameters:
reason- error description
Returns:
A created exception
+ (SCTextException *) exceptionWithEmptyText: (NSString *)  text

Returns the empty text exception created by using the specified text name.

Parameters:
text- text name
Returns:
A created exception
+ (SCTextException *) exceptionWithEmptyText: (NSString *)  text
reason: (NSString *)  reason 

Returns the empty text exception created by using the specified text name and error description.

Parameters:
text- text name
reason- error description
Returns:
A created exception
+ (SCTextException *) exceptionWithIncorrectAlgorithm

Returns the incorrect sorting algorithm exception created by using the default error description.

Returns:
A created exception
+ (SCTextException *) exceptionWithIncorrectAlgorithmForText: (NSString *)  text

Returns the incorrect sorting algorithm exception created by using the specified text name.

Parameters:
text- text name
Returns:
A created exception
+ (SCTextException *) exceptionWithIncorrectAlgorithmForText: (NSString *)  text
reason: (NSString *)  reason 

Returns the incorrect sorting algorithm exception created by using the specified text name and error description.

Parameters:
text- text name
reason- error description
Returns:
A created exception
+ (SCTextException *) exceptionWithIncorrectAlgorithmReason: (NSString *)  reason

Returns the incorrect sorting algorithm exception created by using the specified error description.

Parameters:
reason- error description
Returns:
A created exception
+ (SCTextException *) exceptionWithIndex: (SCIndex index

Returns the incorrect index exception created by using the specified incorrect index.

Parameters:
index- incorrect index
Returns:
A created exception
+ (SCTextException *) exceptionWithIndex: (SCIndex index
duplicated: (NSString *)  duplicated 

Returns the duplicated string exception created by using the specified index and duplicated string.

Parameters:
index- existing string index
duplicated- duplicated string
Returns:
A created exception
+ (SCTextException *) exceptionWithIndex: (SCIndex index
duplicated: (NSString *)  duplicated
reason: (NSString *)  reason 

Returns the duplicated string exception created by using the specified index, duplicated string and error description.

Parameters:
index- existing string index
duplicated- duplicated string
reason- error description
Returns:
A created exception
+ (SCTextException *) exceptionWithIndex: (SCIndex index
reason: (NSString *)  reason 

Returns the incorrect index exception created by using the specified incorrect index and error description.

Parameters:
index- incorrect index
reason- error description
Returns:
A created exception
+ (SCTextException *) exceptionWithIndexSet: (NSIndexSet *)  indexes

Returns the incorrect index set exception created by using the specified index set.

Parameters:
indexes- index set
Returns:
A created exception
+ (SCTextException *) exceptionWithIndexSet: (NSIndexSet *)  indexes
reason: (NSString *)  reason 

Returns the incorrect index set exception created by using the specified index set and error description.

Parameters:
indexes- index set
reason- error description
Returns:
A created exception
+ (SCTextException *) exceptionWithIndexSetCount: (SCULong icount
stringsCount: (SCULong scount 

Returns the incorrect index set count exception created by using the specified index set count and strings count.

Parameters:
icount- index set count
scount- strings count
Returns:
A created exception
+ (SCTextException *) exceptionWithIndexSetCount: (SCULong icount
stringsCount: (SCULong scount
reason: (NSString *)  reason 

Returns the incorrect index set count exception created by using the specified index set count, strings count and error description.

Parameters:
icount- index set count
scount- strings count
reason- error description
Returns:
A created exception
+ (SCTextException *) exceptionWithInputStream: (SCStream *)  stream

Returns an incorrect input stream exception created by using the specified incorrect input stream and default error description.

Parameters:
stream- incorrect input stream
Returns:
A created exception
+ (SCTextException *) exceptionWithInputStream: (SCStream *)  stream
reason: (NSString *)  reason 

Returns an incorrect input stream exception created by using the specified incorrect input stream and error description.

Parameters:
stream- incorrect input stream
reason- error description
Returns:
A created exception
+ (SCTextException *) exceptionWithNilAlgorithm

Returns the nil sorting algorithm exception created by using the default error description.

Returns:
A created exception
+ (SCTextException *) exceptionWithNilAlgorithmForText: (NSString *)  text

Returns the nil sorting algorithm exception created by using the specified text name.

Parameters:
text- text name
Returns:
A created exception
+ (SCTextException *) exceptionWithNilAlgorithmForText: (NSString *)  text
reason: (NSString *)  reason 

Returns the nil sorting algorithm exception created by using the specified text name end error description.

Parameters:
text- text name
reason- error description
Returns:
A created exception
+ (SCTextException *) exceptionWithNilAlgorithmReason: (NSString *)  reason

Returns the nil sorting algorithm exception created by using the specified error description.

Parameters:
reason- error description
Returns:
A created exception
+ (SCTextException *) exceptionWithNilIndexSet

Returns the nil index set exception created by using the default error description.

Returns:
A created exception
+ (SCTextException *) exceptionWithNilIndexSetReason: (NSString *)  reason

Returns the nil index set exception created by using the specified error description.

Parameters:
reason- error description
Returns:
A created exception
+ (SCTextException *) exceptionWithNilSource

Returns the nil source exception created by using the default error description.

Returns:
A created exception
+ (SCTextException *) exceptionWithNilSourceReason: (NSString *)  reason

Returns the nil source exception created by using the specified error description.

Parameters:
reason- error description
Returns:
A created exception
+ (SCTextException *) exceptionWithOutputStream: (SCStream *)  stream

Returns an incorrect output stream exception created by using the specified incorrect output stream and default error description.

Parameters:
stream- incorrect output stream
Returns:
A created exception
+ (SCTextException *) exceptionWithOutputStream: (SCStream *)  stream
reason: (NSString *)  reason 

Returns an incorrect output stream exception created by using the specified incorrect output stream and error description.

Parameters:
stream- incorrect output stream
reason- error description
Returns:
A created exception
+ (SCTextException *) exceptionWithRange: (NSRange)  range

Returns the incorrect text range exception created by using the specified text range and default error description.

Parameters:
range- incorrect text range
Returns:
A created exception
+ (SCTextException *) exceptionWithRange: (NSRange)  range
intersectedRange: (NSRange)  intersected 

Returns the intersected text ranges exceptption created by using the specified intersected ranges and default error description.

Parameters:
range- first intersected range
intersected- second intersected range
Returns:
A created exception
+ (SCTextException *) exceptionWithRange: (NSRange)  range
intersectedRange: (NSRange)  intersected
reason: (NSString *)  reason 

Returns the intersected text ranges exceptption created by using the specified intersected ranges and error description.

Parameters:
range- first intersected range
intersected- second intersected range
reason- error description
Returns:
A created exception
+ (SCTextException *) exceptionWithRange: (NSRange)  range
reason: (NSString *)  reason 

Returns the incorrect text range exception created by using the specified text range and error description.

Parameters:
range- incorrect text range
reason- error description
Returns:
A created exception
+ (SCTextException *) exceptionWithReadOnly

Returns the text read only exception created by using the default error description.

Returns:
A created exception
+ (SCTextException *) exceptionWithReadOnlyReason: (NSString *)  reason

Returns the text read only exception created by using the specified error description.

Parameters:
reason- error description
Returns:
A created exception
+ (SCTextException *) exceptionWithReadOnlyText: (NSString *)  text

Returns the text read only exception created by using the specified text name.

Parameters:
text- text name
Returns:
A created exception
+ (SCTextException *) exceptionWithReadOnlyText: (NSString *)  text
reason: (NSString *)  reason 

Returns the text read only exception created by using the specified text name and error description.

Parameters:
text- text name
reason- error description
Returns:
A created exception
+ (SCTextException *) exceptionWithReason: (NSString *)  reason

Returns the generic text exception created by using the specified error description.

Parameters:
reason- error description
Returns:
A created exception
+ (SCTextException *) exceptionWithText: (NSString *)  text

Returns the generic text exception created by using the specified text object name.

Parameters:
text- text object name
Returns:
A created exception
+ (SCTextException *) exceptionWithText: (NSString *)  text
capacity: (SCULong capacity 

Returns the overflow exception created by using the specified text name and capacity.

Parameters:
text- text name
capacity- text capacity
Returns:
A created exception
+ (SCTextException *) exceptionWithText: (NSString *)  text
capacity: (SCULong capacity
reason: (NSString *)  reason 

Returns the overflow exception created by using the specified text name, text capacity and error description.

Parameters:
text- text name
capacity- text capacity
reason- error description
Returns:
A created exception
+ (SCTextException *) exceptionWithText: (NSString *)  text
closedStream: (SCStream *)  stream 

Returns a closed stream exception created by using the specified text file name, closed stream and default error description.

Parameters:
text- text file name
stream- closed stream
Returns:
A created exception
+ (SCTextException *) exceptionWithText: (NSString *)  text
closedStream: (SCStream *)  stream
reason: (NSString *)  reason 

Returns a closed stream exception created by using the specified text file name, closed stream and error description.

Parameters:
text- text file name
stream- closed stream
reason- error description
Returns:
A created exception
+ (SCTextException *) exceptionWithText: (NSString *)  text
index: (SCIndex index 

Returns the incorrect index exception created by using the specified text name and incorrect index.

Parameters:
text- text name
index- incorrect index
Returns:
A created exception
+ (SCTextException *) exceptionWithText: (NSString *)  text
index: (SCIndex index
duplicated: (NSString *)  duplicated 

Returns the duplicated string exception created by using the specified text name, index and duplicated string.

Parameters:
text- text name
index- existing string index
duplicated- duplicated string
Returns:
A created exception
+ (SCTextException *) exceptionWithText: (NSString *)  text
index: (SCIndex index
duplicated: (NSString *)  duplicated
reason: (NSString *)  reason 

Returns the duplicate string exception created by using the specified text name, index, duplicated string and error description.

Parameters:
text- text name
index- existing string index
duplicated- duplicated string
reason- error description
Returns:
A created exception
+ (SCTextException *) exceptionWithText: (NSString *)  text
index: (SCIndex index
reason: (NSString *)  reason 

Returns the incorrect index exception created by using the specified text name, incorrect index and error description.

Parameters:
text- text name
index- incorrect index
reason- error description
Returns:
A created exception
+ (SCTextException *) exceptionWithText: (NSString *)  text
indexSet: (NSIndexSet *)  indexes 

Returns the incorrect index set exception created by using the specified text name and index set.

Parameters:
text- text name
indexes- index set
Returns:
A created exception
+ (SCTextException *) exceptionWithText: (NSString *)  text
indexSet: (NSIndexSet *)  indexes
reason: (NSString *)  reason 

Returns the incorrect index set exception created by using the specified text name, index set and error description.

Parameters:
text- text name
indexes- index set
reason- error description
Returns:
A created exception
+ (SCTextException *) exceptionWithText: (NSString *)  text
inputStream: (SCStream *)  stream 

Returns an incorrect input stream exception created by using the specified text file name, incorrect input stream and default error description.

Parameters:
text- text file name
stream- incorrect input stream
Returns:
A created exception
+ (SCTextException *) exceptionWithText: (NSString *)  text
inputStream: (SCStream *)  stream
reason: (NSString *)  reason 

Returns an incorrect input stream exception created by using the specified text file name, incorrect input stream and error description.

Parameters:
text- text file name
stream- incorrect input stream
reason- error description
Returns:
A created exception
+ (SCTextException *) exceptionWithText: (NSString *)  text
outputStream: (SCStream *)  stream 

Returns an incorrect output stream exception created by using the specified text file name, incorrect output stream and default error description.

Parameters:
text- text file name
stream- incorrect output stream
Returns:
A created exception
+ (SCTextException *) exceptionWithText: (NSString *)  text
outputStream: (SCStream *)  stream
reason: (NSString *)  reason 

Returns an incorrect output stream exception created by using the specified text file name, incorrect output stream and error description.

Parameters:
text- text file name
stream- incorrect output stream
reason- error description
Returns:
A created exception
+ (SCTextException *) exceptionWithText: (NSString *)  text
range: (NSRange)  range 

Returns the incorrect text range exception created by using the specified text name, range and default error description.

Parameters:
text- text name
range- incorrect text range
Returns:
A created exception
+ (SCTextException *) exceptionWithText: (NSString *)  text
range: (NSRange)  range
intersectedRange: (NSRange)  intersected 

Returns the intersected text ranges exceptption created by using the specified text name, intersected ranges and default error description.

Parameters:
text- text name
range- first intersected range
intersected- second intersected range
Returns:
A created exception
+ (SCTextException *) exceptionWithText: (NSString *)  text
range: (NSRange)  range
intersectedRange: (NSRange)  intersected
reason: (NSString *)  reason 

Returns the intersected text ranges exceptption created by using the specified text name, intersected ranges and error description.

Parameters:
text- text name
range- first intersected range
intersected- second intersected range
reason- error description
Returns:
A created exception
+ (SCTextException *) exceptionWithText: (NSString *)  text
range: (NSRange)  range
reason: (NSString *)  reason 

Returns the incorrect text range exception created by using the specified text name, range and error description.

Parameters:
text- text name
range- incorrect text range
reason- error description
Returns:
A created exception
+ (SCTextException *) exceptionWithText: (NSString *)  text
reason: (NSString *)  reason 

Returns the generic text exception created by using the specified text object name and error description.

Parameters:
text- text object name
reason- error description
Returns:
A created exception
+ (SCTextException *) exceptionWithText: (NSString *)  text
textIndex: (SCTextIndex *)  index 

Returns the incorrect text index exception created by using the specified text name, index and default error description.

Parameters:
text- text name
index- incorrect text index
Returns:
A created exception
+ (SCTextException *) exceptionWithText: (NSString *)  text
textIndex: (SCTextIndex *)  index
reason: (NSString *)  reason 

Returns the incorrect text index exception created by using the specified text name, index and error description.

Parameters:
text- text name
index- incorrect text index
reason- error description
Returns:
A created exception
+ (SCTextException *) exceptionWithText: (NSString *)  text
type: (SCTextError type 

Returns the generic text exception created by using the specified text object name and exception type.

Parameters:
text- text object name
type- exception type
Returns:
A created exception
+ (SCTextException *) exceptionWithText: (NSString *)  text
type: (SCTextError type
reason: (NSString *)  reason 

Returns the generic text exception created by using the specified text object name, exception type and error description.

Parameters:
text- text object name
type- exception type
reason- error description
Returns:
A created exception
+ (SCTextException *) exceptionWithTextCapacity

Returns the overflow exception created by using the default error description.

Returns:
A created exception
+ (SCTextException *) exceptionWithTextCapacityReason: (NSString *)  reason

Returns the overflow exception created by using the specified error description.

Parameters:
reason- error description
Returns:
A created exception
+ (SCTextException *) exceptionWithTextIndex: (SCTextIndex *)  index

Returns the incorrect text index exception created by using the specified text index and default error description.

Parameters:
index- incorrect text index
Returns:
A created exception
+ (SCTextException *) exceptionWithTextIndex: (SCTextIndex *)  index
reason: (NSString *)  reason 

Returns the incorrect text index exception created by using the specified text index and error description.

Parameters:
index- incorrect text index
reason- error description
Returns:
A created exception
+ (SCTextException *) exceptionWithType: (SCTextError type

Returns the generic text exception created by using the specified exception type.

Parameters:
type- exception type
Returns:
A created exception
+ (SCTextException *) exceptionWithType: (SCTextError type
reason: (NSString *)  reason 

Returns the generic text exception created by using the specified exception type and error description.

Parameters:
type- exception type
reason- error description
Returns:
A created exception
+ (SCTextException *) exceptionWithUnexpected: (NSString *)  unexpected

Returns the unexpected class exception created by using the specified unexpected class name.

Parameters:
unexpected- unexpected class name
Returns:
A created exception
+ (SCTextException *) exceptionWithUnexpected: (NSString *)  unexpected
reason: (NSString *)  reason 

Returns the unexpected class exception created by using the specified unexpected class name and error description.

Parameters:
unexpected- unexpected class name
reason- error description
Returns:
A created exception
+ (SCTextException *) exceptionWithUnsupportedType: (NSString *)  type

Returns the unsupported collection type exception created by using the specified unsupported type name.

Parameters:
type- unsupported type name
Returns:
A created exception
+ (SCTextException *) exceptionWithUnsupportedType: (NSString *)  type
reason: (NSString *)  reason 

Returns the unsupported collection type exception created by using the specified unsupported type name and error description.

Parameters:
type- unsupported type name
reason- error description
Returns:
A created exception
- (SCIndex) index

Returns the incorrect index.

Returns:
Incorrect index
- (NSIndexSet *) indexSet

Returns the incorrect index set.

Returns:
Index set
- (SCULong) indexSetCount

Returns the index set count.

Returns:
Index set count
- (id) init

Initializes the generic text exception using the default error description.

Returns:
A newly initialized exception
- (id) initDuplicated

Initializes the duplicated string exception.

Returns:
A newly initialized exception
- (id) initDuplicatedWithReason: (NSString *)  reason

Initializes the duplicated string exception using the specified error description.

Parameters:
reason- error description
Returns:
A newly initialized exception
- (id) initDuplicatedWithText: (NSString *)  text

Initializes the duplicated string exception using the specified text name.

Parameters:
text- text name
Returns:
A newly initialized exception
- (id) initDuplicatedWithText: (NSString *)  text
reason: (NSString *)  reason 

Initializes the duplicated string exception using the specified text name and error description.

Parameters:
text- text name
reason- error description
Returns:
A newly initialized exception
- (id) initEmptyPath

Initializes the empty path exception using the default error desription.

Returns:
A newly initialized exception
- (id) initEmptyPathWithReason: (NSString *)  reason

Initializes the empty path exception using the specified error desription.

Parameters:
reason- error desription
Returns:
A newly initialized exception
- (id) initEmptyPathWithText: (NSString *)  text

Initializes the empty path exception using the specified text file name and default error desription.

Parameters:
text- text file name
Returns:
A newly initialized exception
- (id) initEmptyPathWithText: (NSString *)  text
reason: (NSString *)  reason 

Initializes the empty path exception using the specified text file name and error desription.

Parameters:
text- text file name
reason- error desription
Returns:
A newly initialized exception
- (id) initNilStream

Initializes the nil stream exception using the default error description.

Returns:
A newly initialized exception
- (id) initNilStreamWithReason: (NSString *)  reason

Initializes the nil stream exception using the specified error description.

Parameters:
reason- error desription
Returns:
A newly initialized exception
- (id) initNilStreamWithText: (NSString *)  text

Initializes the nil stream exception using the specified text file name and default error description.

Parameters:
text- text file name
Returns:
A newly initialized exception
- (id) initNilStreamWithText: (NSString *)  text
reason: (NSString *)  reason 

Initializes the nil stream exception using the specified text file name and error description.

Parameters:
text- text file name
reason- error desription
Returns:
A newly initialized exception
- (id) initReadError

Initializes the read error exception using the default error description.

Returns:
A newly initalized exception
- (id) initReadErrorWithReason: (NSString *)  reason

Initializes the read error exception using the specified error description.

Parameters:
reason- error description
Returns:
A newly initalized exception
- (id) initReadErrorWithText: (NSString *)  text

Initializes the read error exception using the specified text file name and default error description.

Parameters:
text- text file name
Returns:
A newly initalized exception
- (id) initReadErrorWithText: (NSString *)  text
reason: (NSString *)  reason 

Initializes the read error exception using the specified text file name and error description.

Parameters:
text- text file name
reason- error description
Returns:
A newly initalized exception
- (id) initWithCapacity: (SCULong capacity

Initializes the overflow exception using the specified text capacity.

Parameters:
capacity- text capacity
Returns:
A newly initialized exception
- (id) initWithCapacity: (SCULong capacity
reason: (NSString *)  reason 

Initializes the overflow exception using the specified text capacity and error description.

Parameters:
capacity- text capacity
reason- error description
Returns:
A newly initialized exception
- (id) initWithCapacityText: (NSString *)  text

Initializes the overflow exception using the specified text name.

Parameters:
text- text name
Returns:
A newly initialized exception
- (id) initWithCapacityText: (NSString *)  text
reason: (NSString *)  reason 

Initializes the overflow exception using the specified text name and error description.

Parameters:
text- text name
reason- error description
Returns:
A newly initialized exception
- (id) initWithClosedStream: (SCStream *)  stream

Initializes the closed stream exception using the specified closed stream and default error description.

Parameters:
stream- closed stream
Returns:
A newly initialized exception
- (id) initWithClosedStream: (SCStream *)  stream
reason: (NSString *)  reason 

Initializes the closed stream exception using the specified closed stream and error description.

Parameters:
stream- closed stream
reason- error description
Returns:
A newly initialized exception
- (id) initWithEmpty

Initializes the empty text exception using the default error description.

Returns:
A newly initialized exception
- (id) initWithEmptyReason: (NSString *)  reason

Initializes the empty text exception using the specified error description.

Parameters:
reason- error description
Returns:
A newly initialized exception
- (id) initWithEmptyString

Initializes the empty string exception using the default error description.

Returns:
A newly initialized exception
- (id) initWithEmptyStringInText: (NSString *)  text

Initializes the empty string exception using the specified text name.

Parameters:
text- text name
Returns:
A newly initialized exception
- (id) initWithEmptyStringInText: (NSString *)  text
reason: (NSString *)  reason 

Initializes the empty string exception using the specified text name and error description.

Parameters:
text- text name
reason- error description
Returns:
A newly initialized exception
- (id) initWithEmptyStringReason: (NSString *)  reason

Initializes the empty string exception using the specified error description.

Parameters:
reason- error description
Returns:
A newly initialized exception
- (id) initWithEmptyText: (NSString *)  text

Initializes the empty text exception using the specified text name.

Parameters:
text- text name
Returns:
A newly initialized exception
- (id) initWithEmptyText: (NSString *)  text
reason: (NSString *)  reason 

Initializes the empty text exception using the specified text name and error description.

Parameters:
text- text name
reason- error description
Returns:
A newly initialized exception
- (id) initWithIncorrectAlgorithm

Initializes the incorrect sorting algorithm exception using the default error description.

Returns:
A newly initialized exception
- (id) initWithIncorrectAlgorithmForText: (NSString *)  text

Initializes the incorrect sorting algorithm exception using the specified text name.

Parameters:
text- tet name
Returns:
A newly initialized exception
- (id) initWithIncorrectAlgorithmForText: (NSString *)  text
reason: (NSString *)  reason 

Initializes the incorrect sorting algorithm exception using the specified text name and error description.

Parameters:
text- tet name
reason- error description
Returns:
A newly initialized exception
- (id) initWithIncorrectAlgorithmReason: (NSString *)  reason

Initializes the incorrect sorting algorithm exception using the specified error description.

Parameters:
reason- error description
Returns:
A newly initialized exception
- (id) initWithIndex: (SCIndex index

Initializes the incorrect index exception using the specified incorrect index.

Parameters:
index- incorrect index
Returns:
A newly initialized exception
- (id) initWithIndex: (SCIndex index
duplicated: (NSString *)  duplicated 

Initializes the duplicated string exception using the specified index and duplicated string.

Parameters:
index- existing string index
duplicated- duplicated string
Returns:
A newly initialized exception
- (id) initWithIndex: (SCIndex index
duplicated: (NSString *)  duplicated
reason: (NSString *)  reason 

Initializes the duplicated string exception using the specified index, duplicated string and error description.

Parameters:
index- existing string index
duplicated- duplicated string
reason- error description
Returns:
A newly initialized exception
- (id) initWithIndex: (SCIndex index
reason: (NSString *)  reason 

Initializes the incorrect index exception using the specified incorrect index and error description.

Parameters:
index- incorrect index
reason- error description
Returns:
A newly initialized exception
- (id) initWithIndexSet: (NSIndexSet *)  indexes

Initializes the incorrect index set exception using the specified index set.

Parameters:
indexes- index set
Returns:
A newly initialized exception
- (id) initWithIndexSet: (NSIndexSet *)  indexes
reason: (NSString *)  reason 

Initializes the incorrect index set exception using the specified index set and error description.

Parameters:
indexes- index set
reason- error description
Returns:
A newly initialized exception
- (id) initWithIndexSetCount: (SCULong icount
stringsCount: (SCULong scount 

Initializes the incorrect index set count exception using the specified index set count and strings count.

Parameters:
icount- index set count
scount- strings count
Returns:
A newly initialized exception
- (id) initWithIndexSetCount: (SCULong icount
stringsCount: (SCULong scount
reason: (NSString *)  reason 

Initializes the incorrect index set count exception using the specified index set count, strings count and error description.

Parameters:
icount- index set count
scount- strings count
reason- error description
Returns:
A newly initialized exception
- (id) initWithInputStream: (SCStream *)  stream

Initializes the incorrect input stream exception using the specified incorrect input stream and default error description.

Parameters:
stream- incorrect input stream
Returns:
A newly initialized exception
- (id) initWithInputStream: (SCStream *)  stream
reason: (NSString *)  reason 

Initializes the incorrect input stream exception using the specified incorrect input stream and error description.

Parameters:
stream- incorrect input stream
reason- error description
Returns:
A newly initialized exception
- (id) initWithNilAlgorithm

Initializes the nil sorting algorithm exception using the default error description.

Returns:
A newly initialized exception
- (id) initWithNilAlgorithmForText: (NSString *)  text

Initializes the nil sorting algorithm exception using the specified text name.

Parameters:
text- text name
Returns:
A newly initialized exception
- (id) initWithNilAlgorithmForText: (NSString *)  text
reason: (NSString *)  reason 

Initializes the nil sorting algorithm exception using the specified text name end error description.

Parameters:
text- text name
reason- error description
Returns:
A newly initialized exception
- (id) initWithNilAlgorithmReason: (NSString *)  reason

Initializes the nil sorting algorithm exception using the specified error description.

Parameters:
reason- error description
Returns:
A newly initialized exception
- (id) initWithNilIndexSet

Initializes the nil index set exception using the default error description.

Returns:
A newly initialized exception
- (id) initWithNilIndexSetReason: (NSString *)  reason

Initializes the nil index set exception using the specified error description.

Parameters:
reason- error description
Returns:
A newly initialized exception
- (id) initWithNilSource

Initializes the nil source exception using the default error description.

Returns:
A newly initialized exception
- (id) initWithNilSourceReason: (NSString *)  reason

Initializes the nil source exception using the specified error description.

Parameters:
reason- error description
Returns:
A newly initialized exception
- (id) initWithOutputStream: (SCStream *)  stream

Initializes the incorrect output stream exception using the specified incorrect output stream and default error description.

Parameters:
stream- incorrect output stream
Returns:
A newly initialized exception
- (id) initWithOutputStream: (SCStream *)  stream
reason: (NSString *)  reason 

Initializes the incorrect output stream exception using the specified incorrect output stream and error description.

Parameters:
stream- incorrect output stream
reason- error description
Returns:
A newly initialized exception
- (id) initWithRange: (NSRange)  range

Initializes the incorrect text range exception using the specified text range and default error description.

Parameters:
range- incorrect text range
Returns:
A newly initialized exception
- (id) initWithRange: (NSRange)  range
intersectedRange: (NSRange)  intersected 

Initializes the intersected text ranges exception using the specified intersected ranges and default error description.

Parameters:
range- first intersected range
intersected- second intersected range
Returns:
A newly initialized exception
- (id) initWithRange: (NSRange)  range
intersectedRange: (NSRange)  intersected
reason: (NSString *)  reason 

Initializes the intersected text ranges exception using the specified intersected ranges and error description.

Parameters:
range- first intersected range
intersected- second intersected range
reason- error description
Returns:
A newly initialized exception
- (id) initWithRange: (NSRange)  range
reason: (NSString *)  reason 

Initializes the incorrect text range exception using the specified text range and error description.

Parameters:
range- incorrect text range
reason- error description
Returns:
A newly initialized exception
- (id) initWithReadOnly

Initializes the text read only exception using the default error description.

Returns:
A newly initialized exception
- (id) initWithReadOnlyReason: (NSString *)  reason

Initializes the text read only exception using the specified error description.

Parameters:
reason- error description
Returns:
A newly initialized exception
- (id) initWithReadOnlyText: (NSString *)  text

Initializes the text read only exception using the specified text name.

Parameters:
text- text name
Returns:
A newly initialized exception
- (id) initWithReadOnlyText: (NSString *)  text
reason: (NSString *)  reason 

Initializes the text read only exception using the specified text name and error description.

Parameters:
text- text name
reason- error description
Returns:
A newly initialized exception
- (id) initWithReason: (NSString *)  reason

Initializes the generic text exception using the specified error description.

Parameters:
reason- error description
Returns:
A newly initialized exception
- (id) initWithText: (NSString *)  text

Initializes the generic text exception using the specified text object name.

Parameters:
text- text object name
Returns:
A newly initialized exception
- (id) initWithText: (NSString *)  text
capacity: (SCULong capacity 

Initializes the overflow exception using the specified text name and capacity.

Parameters:
text- text name
capacity- text capacity
Returns:
A newly initialized exception
- (id) initWithText: (NSString *)  text
capacity: (SCULong capacity
reason: (NSString *)  reason 

Initializes the overflow exception using the specified text name, text capacity and error description.

Parameters:
text- text name
capacity- text capacity
reason- error description
Returns:
A newly initialized exception
- (id) initWithText: (NSString *)  text
closedStream: (SCStream *)  stream 

Initializes the closed stream exception using the specified text file name, closed stream and default error description.

Parameters:
text- text file name
stream- closed stream
Returns:
A newly initialized exception
- (id) initWithText: (NSString *)  text
closedStream: (SCStream *)  stream
reason: (NSString *)  reason 

Initializes the closed stream exception using the specified text file name, closed stream and error description.

Parameters:
text- text file name
stream- closed stream
reason- error description
Returns:
A newly initialized exception
- (id) initWithText: (NSString *)  text
index: (SCIndex index 

Initializes the incorrect index exception using the specified text name and incorrect index.

Parameters:
text- text name
index- incorrect index
Returns:
A newly initialized exception
- (id) initWithText: (NSString *)  text
index: (SCIndex index
duplicated: (NSString *)  duplicated 

Initializes the duplicated string exception using the specified text name, index and duplicated string.

Parameters:
text- text name
index- existing string index
duplicated- duplicated string
Returns:
A newly initialized exception
- (id) initWithText: (NSString *)  text
index: (SCIndex index
duplicated: (NSString *)  duplicated
reason: (NSString *)  reason 

Initializes the duplicated string exception using the specified text name, index, duplicated string and error description.

Parameters:
text- text name
index- existing string index
duplicated- duplicated string
reason- error description
Returns:
A newly initialized exception
- (id) initWithText: (NSString *)  text
index: (SCIndex index
reason: (NSString *)  reason 

Initializes the incorrect index exception using the specified text name, incorrect index and error description.

Parameters:
text- text name
index- incorrect index
reason- error description
Returns:
A newly initialized exception
- (id) initWithText: (NSString *)  text
indexSet: (NSIndexSet *)  indexes 

Initializes the incorrect index set exception using the specified text name and index set.

Parameters:
text- text name
indexes- index set
Returns:
A newly initialized exception
- (id) initWithText: (NSString *)  text
indexSet: (NSIndexSet *)  indexes
reason: (NSString *)  reason 

Initializes the incorrect index set exception using the specified text name, index set and error description.

Parameters:
text- text name
indexes- index set
reason- error description
Returns:
A newly initialized exception
- (id) initWithText: (NSString *)  text
inputStream: (SCStream *)  stream 

Initializes the incorrect input stream exception using the specified text file name, incorrect input stream and default error description.

Parameters:
text- text file name
stream- incorrect input stream
Returns:
A newly initialized exception
- (id) initWithText: (NSString *)  text
inputStream: (SCStream *)  stream
reason: (NSString *)  reason 

Initializes the incorrect input stream exception using the specified text file name, incorrect input stream and error description.

Parameters:
text- text file name
stream- incorrect input stream
reason- error description
Returns:
A newly initialized exception
- (id) initWithText: (NSString *)  text
outputStream: (SCStream *)  stream 

Initializes the incorrect output stream exception using the specified text file name, incorrect output stream and default error description.

Parameters:
text- text file name
stream- incorrect output stream
Returns:
A newly initialized exception
- (id) initWithText: (NSString *)  text
outputStream: (SCStream *)  stream
reason: (NSString *)  reason 

Initializes the incorrect output stream exception using the specified text file name, incorrect output stream and error description.

Parameters:
text- text file name
stream- incorrect output stream
reason- error description
Returns:
A newly initialized exception
- (id) initWithText: (NSString *)  text
range: (NSRange)  range 

Initializes the incorrect text range exception using the specified text name, range and default error description.

Parameters:
text- text name
range- incorrect text range
Returns:
A newly initialized exception
- (id) initWithText: (NSString *)  text
range: (NSRange)  range
intersectedRange: (NSRange)  intersected 

Initializes the intersected text ranges exception using the specified text name, intersected ranges and default error description.

Parameters:
text- text name
range- first intersected range
intersected- second intersected range
Returns:
A newly initialized exception
- (id) initWithText: (NSString *)  text
range: (NSRange)  range
intersectedRange: (NSRange)  intersected
reason: (NSString *)  reason 

Initializes the intersected text ranges exception using the specified text name, intersected ranges and error description.

Parameters:
text- text name
range- first intersected range
intersected- second intersected range
reason- error description
Returns:
A newly initialized exception
- (id) initWithText: (NSString *)  text
range: (NSRange)  range
reason: (NSString *)  reason 

Initializes the incorrect text range exception using the specified text name, range and error description.

Parameters:
text- text name
range- incorrect text range
reason- error description
Returns:
A newly initialized exception
- (id) initWithText: (NSString *)  text
reason: (NSString *)  reason 

Initializes the generic text exception using the specified text object name and error description.

Parameters:
text- text object name
reason- error description
Returns:
A newly initialized exception
- (id) initWithText: (NSString *)  text
textIndex: (SCTextIndex *)  index 

Initializes the incorrect text index exception using the specified text name, index and default error description.

Parameters:
text- text name
index- incorrect text index
Returns:
A newly initialized exception
- (id) initWithText: (NSString *)  text
textIndex: (SCTextIndex *)  index
reason: (NSString *)  reason 

Initializes the incorrect text index exception using the specified text name, index and error description.

Parameters:
text- text name
index- incorrect text index
reason- error description
Returns:
A newly initialized exception
- (id) initWithText: (NSString *)  text
type: (SCTextError type 

Initializes the generic text exception using the specified text object name and exception type.

Parameters:
text- text object name
type- exception type
Returns:
A newly initialized exception
- (id) initWithText: (NSString *)  text
type: (SCTextError type
reason: (NSString *)  reason 

Initializes the generic text exception using the specified text object name, exception type and error description.

Parameters:
text- text object name
type- exception type
reason- error description
Returns:
A newly initialized exception
- (id) initWithTextCapacity

Initializes the overflow exception using the default error description.

Returns:
A newly initialized exception
- (id) initWithTextCapacityReason: (NSString *)  reason

Initializes the overflow exception using the specified error description.

Parameters:
reason- error description
Returns:
A newly initialized exception
- (id) initWithTextIndex: (SCTextIndex *)  index

Initializes the incorrect text index exception using the specified text index and default error description.

Parameters:
index- incorrect text index
Returns:
A newly initialized exception
- (id) initWithTextIndex: (SCTextIndex *)  index
reason: (NSString *)  reason 

Initializes the incorrect text index exception using the specified text index and error description.

Parameters:
index- incorrect text index
reason- error description
Returns:
A newly initialized exception
- (id) initWithType: (SCTextError type

Initializes the generic text exception using the specified exception type.

Parameters:
type- exception type
Returns:
A newly initialized exception
- (id) initWithType: (SCTextError type
reason: (NSString *)  reason 

Initializes the generic text exception using the specified exception type and error description.

Parameters:
type- exception type
reason- error description
Returns:
A newly initialized exception
- (id) initWithUnexpected: (NSString *)  unexpected

Initializes the unexpected class exception using the specified unexpected class name.

Parameters:
unexpected- unexpected class name
Returns:
A newly initialized exception
- (id) initWithUnexpected: (NSString *)  unexpected
reason: (NSString *)  reason 

Initializes the unexpected class exception using the specified unexpected class name and error description.

Parameters:
unexpected- unexpected class name
reason- error description
Returns:
A newly initialized exception
- (id) initWithUnsupportedType: (NSString *)  type

Initializes the unsupported collection type exception using the specified unsupported type name.

Parameters:
type- unsupported type name
Returns:
A newly initialized exception
- (id) initWithUnsupportedType: (NSString *)  type
reason: (NSString *)  reason 

Initializes the unsupported collection type exception using the specified unsupported type name and error description.

Parameters:
type- unsupported type name
reason- error description
Returns:
A newly initialized exception
- (id) initWriteError

Initializes the write error exception using the default error description.

Returns:
A newly initalized exception
- (id) initWriteErrorWithReason: (NSString *)  reason

Initializes the write error exception using the specified error description.

Parameters:
reason- error description
Returns:
A newly initalized exception
- (id) initWriteErrorWithText: (NSString *)  text

Initializes the write error exception using the specified text file name and default error description.

Parameters:
text- text file name
Returns:
A newly initalized exception
- (id) initWriteErrorWithText: (NSString *)  text
reason: (NSString *)  reason 

Initializes the write error exception using the specified text file name and error description.

Parameters:
text- text file name
reason- error description
Returns:
A newly initalized exception
- (NSRange) intersectedRange

Returns the intersected text range.

Returns:
Intersected text range
+ (SCTextException *) nilStreamException

Returns a nil stream exception created by using the default error description.

Returns:
A created exception
+ (SCTextException *) nilStreamExceptionWithReason: (NSString *)  reason

Returns a nil stream exception created by using the specified error description.

Parameters:
reason- error description
Returns:
A created exception
+ (SCTextException *) nilStreamExceptionWithText: (NSString *)  text

Returns a nil stream exception created by using the specified text file name and default error description.

Parameters:
text- text file name
Returns:
A created exception
+ (SCTextException *) nilStreamExceptionWithText: (NSString *)  text
reason: (NSString *)  reason 

Returns a nil stream exception created by using the specified text file name and error description.

Parameters:
text- text file name
reason- error description
Returns:
A created exception
- (NSRange) range

Returns the incorrect text range.

Returns:
Text range
+ (SCTextException *) readErrorException

Returns a read error exception created by using the default error description.

Returns:
A created exception
+ (SCTextException *) readErrorExceptionWithReason: (NSString *)  reason

Returns a read error exception created by using the specified error description.

Parameters:
reason- error description
Returns:
A created exception
+ (SCTextException *) readErrorExceptionWithText: (NSString *)  text

Returns a read error exception created by using the specified text file name and default error description.

Parameters:
text- text file name
Returns:
A created exception
+ (SCTextException *) readErrorExceptionWithText: (NSString *)  text
reason: (NSString *)  reason 

Returns a read error exception created by using the specified text file name and error description.

Parameters:
text- text file name
reason- error description
Returns:
A created exception
- (SCStream *) stream

Returns the incorrect stream.

Returns:
Incorrect stream
- (SCULong) stringsCount

Returns the strings count.

Returns:
Strings count
- (SCTextIndex *) textIndex

Returns the incorrect text index.

Returns:
Text index
- (NSString *) textName

Returns the text name.

Returns:
Text name
- (SCTextError) type

Returns the text exception type.

Returns:
Exception type
- (NSString *) unexpected

Returns the unexpected class name.

Returns:
Class name
- (NSString *) unsupportedType

Returns the unsupported type.

Returns:
Unsupported type
+ (SCTextException *) writeErrorException

Returns a write error exception created by using the default error description.

Returns:
A created exception
+ (SCTextException *) writeErrorExceptionWithReason: (NSString *)  reason

Returns a write error exception created by using the specified error description.

Parameters:
reason- error description
Returns:
A created exception
+ (SCTextException *) writeErrorExceptionWithText: (NSString *)  text

Returns a write error exception created by using the specified text file name and default error description.

Parameters:
text- text file name
Returns:
A created exception
+ (SCTextException *) writeErrorExceptionWithText: (NSString *)  text
reason: (NSString *)  reason 

Returns a write error exception created by using the specified text file name and error description.

Parameters:
text- text file name
reason- error description
Returns:
A created exception

The documentation for this class was generated from the following files:
 All Classes Files Functions Typedefs Enumerations Enumerator Defines