Samond Classes Library 1.1.6-RELEASE build 132

SCSystemException Class Reference

System error detected exception class. More...

#import <SCSystemException.h>

Inheritance diagram for SCSystemException:
SCException

List of all members.

Public Member Functions

Initializing System Exception
(id) - init
(id) - initWithError:name:
(id) - initWithError:
(id) - initWithReason:
Querying Exception Properties
(SCSystemError- error
(NSString *) - objectName

Static Public Member Functions

Creating System Exception
(SCSystemException *) + exception
(SCSystemException *) + exceptionWithError:name:
(SCSystemException *) + exceptionWithError:
(SCSystemException *) + exceptionWithReason:

Detailed Description

System error detected exception class.

Exception generates when system call returns an error.
This class was intoduced in version 1.1.3.

Class declares the following properties:


Member Function Documentation

- (SCSystemError) error

Returns the system error number.

Returns:
System error number
+ (SCSystemException *) exception

Returns an exception created without using any information.

Returns:
Created exception
+ (SCSystemException *) exceptionWithError: (SCSystemError error

Returns an exception created by using the specified system error number.

Parameters:
error- system error number
Returns:
Created exception
+ (SCSystemException *) exceptionWithError: (SCSystemError error
name: (NSString *)  name 

Returns an exception created by using the specified system error number and erroneous object name.

Parameters:
error- system error number
name- erroneous object name
Returns:
Created exception
+ (SCSystemException *) exceptionWithReason: (NSString *)  reason

Returns an exception created by using the specified error description.

Parameters:
reason- error description
Returns:
Created exception
- (id) init

Initializes the exception without using any information.

Returns:
A newly initialized exception
- (id) initWithError: (SCSystemError error

Initializes the exception using the specified system error number.

Parameters:
error- system error number
Returns:
A newly initialized exception
- (id) initWithError: (SCSystemError error
name: (NSString *)  name 

Initializes the exception using the specified system error number and erroneous object name.

Parameters:
error- system error number
name- erroneous object name
Returns:
A newly initialized exception
- (id) initWithReason: (NSString *)  reason

Initializes the exception using the specified error description.

Parameters:
reason- error description
Returns:
A newly initialized exception
- (NSString *) objectName

Returns the erroneous object name.

Returns:
Erroneous object name

The documentation for this class was generated from the following files:
 All Classes Files Functions Typedefs Enumerations Enumerator Defines