Samond Classes Library 1.2.6-STABLE build 219
List of all members
SCException Class Reference

Parent class of all library exceptions. More...

#import <SCException.h>

+ Inheritance diagram for SCException:

Instance Properties

SCInteger code
 
NSString * eid
 

Initializing Class Instances

(instancetype) - initWithName:reason:code:eid:
 
(instancetype) - initWithException:
 

Detailed Description

Parent class of all library exceptions.

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

Implements the common properties and methods of all library exceptions.

Method Documentation

- (instancetype) initWithException: (SCException *)  exception

Initializes an exception by using the specified existing exception.

Parameters
exception- the source exception
Returns
A newly initialized exception
- (instancetype) initWithName: (NSString *)  name
reason: (NSString *)  reason
code: (SCInteger code
eid: (NSString *)  eid 

Initializes an exception by using the specified exception name, error description, error code and error ID.

Attention
Designed initializer
Parameters
name- the exception name
reason- the description of the error
code- the error code
eid- the error ID
Returns
A newly initialized exception

Reimplemented in SCCollectionException, and SCTextException.

Property Documentation

- (SCInteger) code
readnonatomicassign

Error code

- (NSString*) eid
readnonatomicretain

Error ID


The documentation for this class was generated from the following files: