Samond Classes Library 1.2.1-RELEASE build 181
Classes
SCStreamException.h File Reference

Class SCStreamException header file. More...

#import <scl/SCException.h>

Go to the source code of this file.

Classes

class  SCStreamException
 Exception class SCStreamException. More...
 

Class Constants

#define SCStreamExceptionClass   @"SCStreamException"
 Class SCStreamException name.
 
#define SCStreamErrorName   @"SCStream"
 Exception name.
 

Error ID Constants

#define SCStreamEIDUnspecified   @"SCL-20020"
 Unspecified stream error ID.
 
#define SCStreamEIDNotOpen   @"SCL-20021"
 Stream not open error ID.
 
#define SCStreamEIDReadOnly   @"SCL-20022"
 Writing to read only stream error ID.
 
#define SCStreamEIDWriteOnly   @"SCL-20023"
 Reading from write only stream error ID.
 
#define SCStreamEIDUnknown   @"SCL-20024"
 Unknown class error ID.
 
#define SCStreamEIDUnexpected   @"SCL-20025"
 Unexpected class error ID.
 
#define SCStreamEIDUnsupported   @"SCL-20026"
 Unsupported class error ID.
 
#define SCStreamEIDIncompleteReading   @"SCL-20027"
 Incomplited read operation error ID.
 
#define SCStreamEIDIncompleteWriting   @"SCL-20028"
 Incomplited write operation error ID.
 
#define SCStreamEIDOpening   @"SCL-20029"
 Stream opening error ID.
 
#define SCStreamEIDRead   @"SCL-20030"
 Reading error ID.
 
#define SCStreamEIDWrite   @"SCL-20031"
 Writing error ID.
 
#define SCStreamEIDNumber   @"SCL-20032"
 Number object error ID.
 

Class Support Types

enum  _SCStreamError {
  SCStreamErrorUnspecified = -20020, SCStreamErrorNotOpen = -20021, SCStreamErrorReadOnly = -20022, SCStreamErrorWriteOnly = -20023,
  SCStreamErrorUnknown = -20024, SCStreamErrorUnexpected = -20025, SCStreamErrorUnsupported = -20026, SCStreamErrorIncompleteReading = -20027,
  SCStreamErrorIncompleteWriting = -20028, SCStreamErrorOpening = -20029, SCStreamErrorRead = -20030, SCStreamErrorWrite = -20031,
  SCStreamErrorNumber = -20032
}
 
typedef SCInteger SCStreamError
 Stream errors data type. More...
 

Detailed Description

Class SCStreamException header file.

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

Contains the class SCStreamException declaration, which defines the common streams exceptions.

Typedef Documentation

Stream errors data type.

Declares the stream error codes.

Enumeration Type Documentation

Set of type SCStreamError constants.

Enumerator
SCStreamErrorUnspecified 

Unspecified stream error.

SCStreamErrorNotOpen 

Stream not open error.

SCStreamErrorReadOnly 

Writing to read only stream error.

SCStreamErrorWriteOnly 

Reading from write only stream error.

SCStreamErrorUnknown 

Unknown class error.

SCStreamErrorUnexpected 

Unexpected class error.

SCStreamErrorUnsupported 

Unsupported class error.

SCStreamErrorIncompleteReading 

Incomplited read operation error.

SCStreamErrorIncompleteWriting 

Incomplited write operation error.

SCStreamErrorOpening 

Stream opening error.

SCStreamErrorRead 

Stream reading error.

SCStreamErrorWrite 

Stream writing error.

SCStreamErrorNumber 

Number object error.