Samond Classes Library 1.1.6-RELEASE build 132
Classes | Defines

SCConfigException.h File Reference

Class SCConfigException header file. More...

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

Go to the source code of this file.

Classes

class  SCConfigException
 Configuration exception class. More...

Defines

#define SCConfigExceptionClass   @"SCConfigException"
 SCConfigException class name.
Exception name constant
#define SCConfigErrorName   @"SCConfig"
 Name of exception.

Exception supporting types

enum  _SCConfigError {
  SCConfigErrorUnspecified = 0, SCConfigErrorUnexpectedRecordType = 1, SCConfigErrorNullSourceConfig = 2, SCConfigErrorReadOnly = 3,
  SCConfigErrorNullKey = 4, SCConfigErrorNullValue = 5, SCConfigErrorConfigNotFound = 6, SCConfigErrorNotConfig = 7,
  SCConfigErrorConfigExists = 8, SCConfigErrorIncorrectConfigKey = 9, SCConfigErrorIncorrectKey = 10, SCConfigErrorIncorrectType = 11,
  SCConfigErrorIncorrectValue = 12, SCConfigErrorDuplicatedKey = 13, SCConfigErrorNullSourceCollection = 14, SCConfigErrorIncorrectCollection = 15,
  SCConfigErrorUnexpectedData = 16, SCConfigErrorNullSourceText = 17, SCConfigErrorMultipleKeys = 18, SCConfigErrorIsConfig = 19,
  SCConfigErrorRemoveMandatoryKey = 20, SCConfigErrorUnexpectedType = 21, SCConfigErrorKeyNotFound = 22, SCConfigErrorMandatoryKey = 23,
  SCConfigErrorNotClosedSection = 24, SCConfigErrorIsNotOpenSection = 25, SCConfigErrorNullStream = 26, SCConfigErrorIncorrectInputStream = 27,
  SCConfigErrorClosedStream = 28, SCConfigErrorReadError = 29, SCConfigErrorEmptyPath = 30, SCConfigErrorNullDestinationText = 31,
  SCConfigErrorIncorrectOutputStream = 32, SCConfigErrorWriteError = 33
}
typedef enum _SCConfigError SCConfigError
 Configuration error type.

Detailed Description

Class SCConfigException header file.

Contains the declaration of configuration exception class.
File was introduced in version 1.2.0.


Typedef Documentation

Configuration error type.

Declares the types of configuration exceptions


Enumeration Type Documentation

Enum for SCConfigError

Enumerator:
SCConfigErrorUnspecified 

Unspecified config error.

SCConfigErrorUnexpectedRecordType 

Unexpected configuration record type error.

SCConfigErrorNullSourceConfig 

Nil source configuration error.

SCConfigErrorReadOnly 

Read only configuration error.

SCConfigErrorNullKey 

Null configuration key error.

SCConfigErrorNullValue 

Null configuration value error.

SCConfigErrorConfigNotFound 

Configuration not found error.

SCConfigErrorNotConfig 

Record is not configuration record error.

SCConfigErrorConfigExists 

Configuration already exists error.

SCConfigErrorIncorrectConfigKey 

Incorrect configuration key error.

SCConfigErrorIncorrectKey 

Incorrect key error.

SCConfigErrorIncorrectType 

Incorrect type error.

SCConfigErrorIncorrectValue 

Incorrect value error.

SCConfigErrorDuplicatedKey 

Duplicate key error.

SCConfigErrorNullSourceCollection 

Null source collection error.

SCConfigErrorIncorrectCollection 

Incorrect source collection error.

SCConfigErrorUnexpectedData 

Unexpected data error.

SCConfigErrorNullSourceText 

Null source text error.

SCConfigErrorMultipleKeys 

Multiple keys error.

SCConfigErrorIsConfig 

Record is configuration record error.

SCConfigErrorRemoveMandatoryKey 

Mandatory key removing error.

SCConfigErrorUnexpectedType 

Unexpected type error.

SCConfigErrorKeyNotFound 

Key not found error.

SCConfigErrorMandatoryKey 

Mandatory key error.

SCConfigErrorNotClosedSection 

Configuration file not closed section error.

SCConfigErrorIsNotOpenSection 

Configuration file is not open section error.

SCConfigErrorNullStream 

Null stream error.

SCConfigErrorIncorrectInputStream 

Incorrect input stream error.

SCConfigErrorClosedStream 

Closed stream error.

SCConfigErrorReadError 

Configuration file reading error.

SCConfigErrorEmptyPath 

Empty path error.

SCConfigErrorNullDestinationText 

Null destination text error.

SCConfigErrorIncorrectOutputStream 

Incorrect output stream error.

SCConfigErrorWriteError 

Configuration file writing error.

 All Classes Files Functions Typedefs Enumerations Enumerator Defines