Samond Classes Library 1.2.1-RELEASE build 181
List of all members
SCSystemException Class Reference

System error exception class. More...

#import <SCSystemException.h>

Inheritance diagram for SCSystemException:
SCException

Instance Properties

SCSystemError error
 
NSString * objectName
 

Creating and Initializing Class Instances (SCL-20002)

(instancetype) - initWithError:object:
 
(instancetype) - initWithError:
 
(instancetype) - init
 
(instancetype) + exceptionWithError:object:
 
(instancetype) + exceptionWithError:
 
(instancetype) + exception
 

Additional Inherited Members

- Instance Methods inherited from SCException
(instancetype) - initWithName:reason:code:eid:
 
- Properties inherited from SCException
SCInteger code
 
NSString * eid
 

Detailed Description

System error exception class.

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

Exception generates when the system error or standard library error is detected.
It has the error ID SCL-20002.

Method Documentation

+ (instancetype) exception

Returns a system exception created by using the default settings.

Returns
A created exception
+ (instancetype) exceptionWithError: (SCSystemError error

Returns a system exception created by using the specified error code.

Parameters
error- the system error code
Returns
A created exception
+ (instancetype) exceptionWithError: (SCSystemError error
object: (NSString *)  object 

Returns a system exception created by using the specified error code and erroneous object name.

Parameters
error- the system error code
object- the name of the erroneous object
Returns
A created exception
- (instancetype) init

Initializes a system exception by using the default settings.

Attention
Designed initializer
Returns
A newly initialized exception
- (instancetype) initWithError: (SCSystemError error

Initializes a system exception by using the specified system error code.

Attention
Designed initializer
Parameters
error- the system error code
Returns
A newly initialized exception
- (instancetype) initWithError: (SCSystemError error
object: (NSString *)  object 

Initializes a system exception by using the specified system error code and erroneous object name.

Attention
Designed initializer
Parameters
error- the system error code
object- the name of the erroneous object
Returns
A newly initialized exception

Property Documentation

- (SCSystemError) error
readnonatomicassign

System error code

- (NSString *) objectName
readnonatomicretain

Erroneous object name


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