|
Samond Classes Library 1.1.6-RELEASE build 132
|
System error detected exception class. More...
#import <SCSystemException.h>
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: |
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:
| - (SCSystemError) error |
Returns the system error number.
| + (SCSystemException *) exception |
Returns an exception created without using any information.
| + (SCSystemException *) exceptionWithError: | (SCSystemError) | error |
Returns an exception created by using the specified system error number.
| error | - system error number |
| + (SCSystemException *) exceptionWithError: | (SCSystemError) | error | |
| name: | (NSString *) | name | |
Returns an exception created by using the specified system error number and erroneous object name.
| error | - system error number |
| name | - erroneous object name |
| + (SCSystemException *) exceptionWithReason: | (NSString *) | reason |
Returns an exception created by using the specified error description.
| reason | - error description |
| - (id) init |
Initializes the exception without using any information.
| - (id) initWithError: | (SCSystemError) | error |
Initializes the exception using the specified system error number.
| error | - system error number |
| - (id) initWithError: | (SCSystemError) | error | |
| name: | (NSString *) | name | |
Initializes the exception using the specified system error number and erroneous object name.
| error | - system error number |
| name | - erroneous object name |
| - (id) initWithReason: | (NSString *) | reason |
Initializes the exception using the specified error description.
| reason | - error description |
| - (NSString *) objectName |
Returns the erroneous object name.
1.7.3