|
Samond Classes Library 1.1.6-RELEASE build 132
|
Abstract method call detected exception class. More...
#import <SCAbstractMethodException.h>
Public Member Functions | |
Initializing Abstract Method Exception | |
| (id) | - init |
| (id) | - initWithMethodName: |
| (id) | - initWithReason: |
Querying Exception Properties | |
| (NSString *) | - methodName |
Static Public Member Functions | |
Creating Abstract Method Exception | |
| (SCAbstractMethodException *) | + exception |
| (SCAbstractMethodException *) | + exceptionWithMethodName: |
| (SCAbstractMethodException *) | + exceptionWithReason: |
Abstract method call detected exception class.
Exception generates when you try to call the abstract method.
This class was intoduced in version 1.1.3.
Class declares the following properties:
| + (SCAbstractMethodException *) exception |
Returns an exception without description and additional data.
| + (SCAbstractMethodException *) exceptionWithMethodName: | (NSString *) | name |
Returns an exception created by using the specified abstract method name.
| name | - abstract method name |
| + (SCAbstractMethodException *) exceptionWithReason: | (NSString *) | reason |
Returns an exception created by using the specified error description.
| reason | - error description |
| - (id) init |
Initializes the exception using the default error message.
| - (id) initWithMethodName: | (NSString *) | name |
Initializes the exception using the specified abstract method name.
| name | - abstract method name |
| - (id) initWithReason: | (NSString *) | reason |
Initializes the exception using the specified error description.
| reason | - error descriprion |
| - (NSString *) methodName |
Returns the abstract method name.
1.7.3