Exception class SCTextException.
More...
#import <SCTextException.h>
Exception class SCTextException.
- Since
- version 1.1.4
Declares the text object exceptions.
Generated exceptions correspond to the following errors:
+ (SCTextException *) duplicateExceptionWithName: |
|
(NSString *) |
name |
string: |
|
(NSString *) |
string |
index: |
|
(SCIndex) |
index |
|
|
| |
Returns a string unique violation exception SCL-20069 created by using the specified text object name, duplicated string and existing string index.
- Parameters
-
name | - text instance name |
string | - duplicated string |
index | - existing string index |
- Returns
- A created exception
Returns a string unique violation exception SCL-20069 created by using the specified duplicated string and existing string index.
- Parameters
-
string | - duplicated string |
index | - existing string index |
- Returns
- A created exception
Returns an empty path exception SCL-20068 created by using the default settings.
- Returns
- A created exception
Returns an empty path exception SCL-20068 created by using the specified text instance name.
- Parameters
-
- Returns
- A created exception
Returns an empty string exception SCL-20064 created by using the default settings.
- Returns
- A created exception
Returns an empty string exception SCL-20064 created by using the specified text instance name.
- Parameters
-
- Returns
- A created exception
Returns a generic text exception created by using the default settings.
- Returns
- A created exception
Returns a closed stream exception SCL-20065 created by using the specified closed stream.
- Parameters
-
- Returns
- A created exception
Returns a closed stream exception SCL-20065 created by using the specified closed stream and text file name.
- Parameters
-
stream | - closed stream |
name | - text file name |
- Returns
- A created exception
Returns an incorrect index exception SCL-20072 created by using the specified incorrect index.
- Parameters
-
- Returns
- A created exception
Returns an incorrect index exception SCL-20072 created by using the specified incorrect index and text instance name.
- Parameters
-
index | - incorrect index |
name | - text instance name |
- Returns
- A created exception
Returns an indexes and strings count exception SCL-20075 created by using the specified number of indexes and number of strings.
- Parameters
-
icount | - number of indexes |
scount | - number of strings |
- Returns
- A created exception
Returns an indexes and strings count exception SCL-20075 created by using the specified number of indexes, number of strings and text instance name.
- Parameters
-
icount | - number of indexes |
scount | - number of strings |
name | - text instance name |
- Returns
- A created exception
Returns an incorrect index set exception SCL-20074 created by using a given incorrect index set.
- Parameters
-
indexSet | - incorrect index set |
- Returns
- A created exception
Returns an incorrect index set exception SCL-20074 created by using the specified incorrect index set and text instance name.
- Parameters
-
indexSet | - incorrect index set |
name | - text instance name |
- Returns
- A created exception
Returns an incorrect input stream exception SCL-20062 created by using the specified incorrect input stream.
- Parameters
-
stream | - incorrect input stream |
- Returns
- A created exception
Returns an incorrect input stream exception SCL-20062 created by using the specified incorrect input stream and text file name.
- Parameters
-
stream | - incorrect input stream |
name | - text file name |
- Returns
- A created exception
Returns a generic text exception created by using the specified text instance name.
- Parameters
-
- Returns
- A created exception
Returns an exception created by using the specified text instance name, error description, error code and error ID.
- Parameters
-
name | - text intance name |
reason | - error description |
code | - error code |
eid | - error ID |
- Returns
- A created exception
Returns an incorrect output stream exception SCL-20071 created by usinf the specified incorrect output stream.
- Parameters
-
stream | - incorrect output stream |
- Returns
- A created exception
Returns an incorrect output stream exception SCL-20071 created by using the specified incorrect output stream and text file name.
- Parameters
-
stream | - incorrect output stream |
name | - text file name |
- Returns
- A created exception
Returns an incorrect range exception SCL-20073 created by using the specified incorrect string range.
- Parameters
-
range | - incorrect string range |
- Returns
- A created exception
Returns an intersected ranges exception SCL-20076 created by using the specified intersected ranges.
- Parameters
-
range | - first intersected range |
intersected | - second intersected range |
- Returns
- A created exception
Returns an intersected ranges exception SCL-20076 created by using the specified intersected ranges and text instance name.
- Parameters
-
range | - first intersected range |
intersected | - second intersected range |
name | - text instance name |
- Returns
- A created exception
Returns an incorrect range exception SCL-20073 created by using the specified incorrect string range and text instance name.
- Parameters
-
range | - incorrect string range |
name | - text instance name |
- Returns
- A created exception
Returns an exception created by using the specified error description, error code and error ID.
- Parameters
-
reason | - error description |
code | - error code |
eid | - error ID |
- Returns
- A created exception
Returns an unsupported class exception SCL-20066 created by using the specified unsupported class name.
- Parameters
-
unsupported | - unsupported class name |
- Returns
- A created exception
Returns an unsupported class exception SCL-20066 created by using the specified unsupported class name and text instance name.
- Parameters
-
unsupported | - unsupported class name |
name | - text instance name |
- Returns
- A created exception
Initializes a generic text exception using the default settings.
- Returns
- A newly initialized exception
- (id) initDuplicateWithName: |
|
(NSString *) |
name |
string: |
|
(NSString *) |
string |
index: |
|
(SCIndex) |
index |
|
|
| |
Initializes a string unique violation exception SCL-20069 using the specified text instance name, duplicated string and existing string index.
- Parameters
-
name | - text instance name |
string | - duplicated string |
index | - existing string index |
- Returns
- A newly initialized exception
- (id) initDuplicateWithString: |
|
(NSString *) |
string |
index: |
|
(SCIndex) |
index |
|
|
| |
Initializes a string unique violation exception SCL-20069 using the specified duplicates string and existing string index.
- Parameters
-
string | - duplicated string |
index | - existing string index |
- Returns
- A newly initialized exception
- (id) initEmptyPathException |
|
|
|
Initializes an empty path exception SCL-20068 using the default settings.
- Returns
- A newly initialized exception
- (id) initEmptyPathExceptionWithName: |
|
(NSString *) |
name |
|
Initializes an empty path exception SCL-20068 using the specified text instance name.
- Parameters
-
- Returns
- A newly initialized exception
Initializes an empty string exception SCL-20064 using the default settings.
- Returns
- A newly initialized exception
- (id) initEmptyStringWithName: |
|
(NSString *) |
name |
|
Initializes an empty string exception SCL-20064 using the specified text instance name.
- Parameters
-
- Returns
- A newly initialized exception
- (id) initReadErrorWithStream: |
|
(SCStream *) |
stream |
|
Initializes a reading error exception SCL-20067 using the specified erroneous stream.
- Parameters
-
- Returns
- A newly initialized exception
Initializes a reading error exception SCL-20067 using the specified erroneous stream and text instance name.
- Parameters
-
stream | - erroneous stream |
name | - text instance name |
- Returns
- A newly initialized exception
Initializes a read only exception SCL-20063 using the default settings.
- Returns
- A newly initialized exception
- (id) initReadOnlyWithName: |
|
(NSString *) |
name |
|
Initializes a read only exception SCL-20063 using the specified text instance name.
- Parameters
-
- Returns
- A newly initialized exception
- (id) initSorterException |
|
|
|
Initializes an incorrect sorter exception SCL-20070 using the default settings.
- Returns
- A newly initialized exception
- (id) initSorterExceptionWithName: |
|
(NSString *) |
name |
|
Initializes an incorrect sorter exception SCL-20070 using the specified text instance name.
- Parameters
-
- Returns
- A newly initialized exception
- (id) initSourceException |
|
|
|
Initializes a source exception SCL-20061 using the default settings.
- Returns
- A newly initialized exception
- (id) initSourceExceptionWithName: |
|
(NSString *) |
name |
|
Initializes a source exception SCL-20061 by using the specified text instance name.
- Parameters
-
- Returns
- A newly initialized exception
- (id) initWithClosedStream: |
|
(SCStream *) |
stream |
|
Initializes a closed stream exception SCL-20065 using the specified closed stream.
- Parameters
-
- Returns
- A newly initialized exception
Initializes a closed stream exception SCL-20065 using the specified closed stream and text file name.
- Parameters
-
stream | - closed stream |
name | - text file name |
- Returns
- A newly initialized exception
- (id) initWithIndex: |
|
(SCIndex) |
index |
|
Initializes an incorrect index exception SCL-20072 using the specified incorrect index.
- Parameters
-
- Returns
- A newly initialized exception
Initializes an incorrect index exception SCL-20072 using the specified incorrect index and text instance name.
- Parameters
-
index | - incorrect index |
name | - text instance name |
- Returns
- A newly initialized exception
- (id) initWithIndexesCount: |
|
(SCULong) |
icount |
stringsCount: |
|
(SCULong) |
scount |
|
|
| |
Initializes an indexes and strings count exception SCL-20075 using the specified number of indexes and number of strings.
- Parameters
-
icount | - number of indexes |
scount | - number of strings |
- Returns
- A newly initialized exception
- (id) initWithIndexesCount: |
|
(SCULong) |
icount |
stringsCount: |
|
(SCULong) |
scount |
name: |
|
(NSString *) |
name |
|
|
| |
Initializes an indexes and strings count exception SCL-20075 using the specified number of indexes, number of strings and text instance name.
- Parameters
-
icount | - number of indexes |
scount | - number of strings |
name | - text instance name |
- Returns
- A newly initialized exception
- (id) initWithIndexSet: |
|
(NSIndexSet *) |
indexSet |
|
Initializes an incorrect index set exception SCL-20074 using the specified incorrect index set.
- Parameters
-
indexSet | - incorrect index set |
- Returns
- A newly initialized exception
Initializes an incorrect index set exception SCL-20074 using the specified incorrect index set and text instance name.
- Parameters
-
indexSet | - incorrect index set |
name | - text instance name |
- Returns
- A newly initialized exception
- (id) initWithInputStream: |
|
(SCStream *) |
stream |
|
Initializes an incorrect input stream exception SCL-20062 using the specified incorrect input stream.
- Parameters
-
stream | - incorrect input stream |
- Returns
- A newly initialized exception
Initializes an incorrect input stream exception SCL-20062 using the specified incorrect input stream and text file name.
- Parameters
-
stream | - incorrect input stream |
name | - text file name |
- Returns
- A newly initialized exception
- (id) initWithName: |
|
(NSString *) |
name |
|
Initializes a generic text exception using the specified text instance name.
- Parameters
-
- Returns
- A newly initialized exception
- (id) initWithName: |
|
(NSString *) |
name |
reason: |
|
(NSString *) |
reason |
code: |
|
(SCInteger) |
code |
eid: |
|
(NSString *) |
eid |
|
|
| |
Initializes an exception using the specified text instance name, error description, error code and error ID.
- Parameters
-
name | - text instance name |
reason | - error description |
code | - error code |
eid | - error ID |
- Returns
- A newly initialized exception
Reimplemented from SCException.
- (id) initWithOutputStream: |
|
(SCStream *) |
stream |
|
Initializes an incorrect output stream exception SCL-20071 using the specified incorrect output stream.
- Parameters
-
stream | - incorrect output stream |
- Returns
- A newly initialized exception
Initializes an incorrect output stream exception SCL-20071 using the specified incorrect output stream and text file name.
- Parameters
-
stream | - incorrect output stream |
name | - text file name |
- Returns
- A newly initialized exception
- (id) initWithRange: |
|
(NSRange) |
range |
|
Initializes an incorrect range exception SCL-20073 using the specified incorrect string range.
- Parameters
-
range | - incorrect string range |
- Returns
- A newly initialized exception
- (id) initWithRange: |
|
(NSRange) |
range |
intersected: |
|
(NSRange) |
intersected |
|
|
| |
Initializes an intersected ranges exception SCL-20076 using the specified intersected ranges.
- Parameters
-
range | - first intersected range |
intersected | - second intersected range |
- Returns
- A newly initialized exception
- (id) initWithRange: |
|
(NSRange) |
range |
intersected: |
|
(NSRange) |
intersected |
name: |
|
(NSString *) |
name |
|
|
| |
Initializes an intersected ranges exception SCL-20076 using the specified intersected ranges and text instance name.
- Parameters
-
range | - first intersected range |
intersected | - second intersected range |
name | - text instance name |
- Returns
- A newly initialized exception
Initializes an incorrect range exception SCL-20073 using the specified incorrect string range and text instance name.
- Parameters
-
range | - incorrect string range |
name | - text instance name |
- Returns
- A newly initialized exception
- (id) initWithReason: |
|
(NSString *) |
reason |
code: |
|
(SCInteger) |
code |
eid: |
|
(NSString *) |
eid |
|
|
| |
Initializes an exception using the specified error description, error code and error ID.
- Parameters
-
reason | - error description |
code | - error code |
eid | - error ID |
- Returns
- A newly initialized exception
- (id) initWithUnsupported: |
|
(NSString *) |
unsupported |
|
Initializes an unsupported class exception SCL-20066 using the specified unsupported class name.
- Parameters
-
unsupported | - unsupported class name |
- Returns
- A newly initialized exception
Initializes en unsupported class exception SCL-20066 using the specified unsupported class name and text instance name.
- Parameters
-
unsupported | - unsupported class name |
name | - text instance name |
- Returns
- A newly initialized exception
- (id) initWriteErrorWithStream: |
|
(SCStream *) |
stream |
|
Initializes a writing exception SCL-20077 using the specified erroneous output stream.
- Parameters
-
stream | - erroneous output stream |
- Returns
- A newly initialized exception
Initializes a writing exception SCL-20077 using the specified erroneous output stream and text file name.
- Parameters
-
stream | - erroneous output stream |
name | - text file name |
- Returns
- A newly initialized exception
Returns a reading error exception SCL-20067 created by using the specified erroneous stream.
- Parameters
-
- Returns
- A created exception
Returns a reading error exception SCL-20067 created by using the specified erroneous stream and text instance name.
- Parameters
-
stream | - erroneous stream |
name | - text instance name |
- Returns
- A created exception
Returns a read only exception SCL-20063 created by using the default settings.
- Returns
- A created exception
Returns a read only exception SCL-20063 created by using the specified text instance name.
- Parameters
-
- Returns
- A created exception
Returns an incorrect sorter exception SCL-20070 created by using the default settings.
- Returns
- A created exception
Returns an incorrect sorter exception SCL-20070 created by using the specified text instance name.
- Parameters
-
- Returns
- A created exception
Returns a source exception SCL-20061 created by using the default settings.
- Returns
- A created exception
Returns a source exception SCL-20061 created by using the specified text instance name.
- Parameters
-
- Returns
- A created exception
Returns a writing exception SCL-20077 created by using the specified erroneous output stream.
- Parameters
-
stream | - erroneous output stream |
- Returns
- A created exception
Returns a writing exception SCL-20077 created by using the specified erroneous output stream and text file name.
- Parameters
-
stream | - erroneous output stream |
name | - text file name |
- Returns
- A created exception
Returns the incorrect string index.
Returns the number of indexes.
- (NSIndexSet *) indexSet |
|
readnonatomicretain |
Returns the incorrect index set.
Returns the intersected string range.
Returns the incorrect string range.
Return the incorrect stream.
Returns the incorrect string.
Returns the number of strings.
Returns the erroneous text instance name.
- (NSString *) unsupported |
|
readnonatomicretain |
Returns the unsupported class name.
The documentation for this class was generated from the following files: