Samond Classes Library 1.1.6-RELEASE build 132

SCAbstractMethodException Class Reference

Abstract method call detected exception class. More...

#import <SCAbstractMethodException.h>

Inheritance diagram for SCAbstractMethodException:
SCException

List of all members.

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:

Detailed Description

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:


Member Function Documentation

+ (SCAbstractMethodException *) exception

Returns an exception without description and additional data.

Returns:
Created exception
+ (SCAbstractMethodException *) exceptionWithMethodName: (NSString *)  name

Returns an exception created by using the specified abstract method name.

Parameters:
name- abstract method name
Returns:
Created exception
+ (SCAbstractMethodException *) 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 using the default error message.

Returns:
A newly initialized exception
- (id) initWithMethodName: (NSString *)  name

Initializes the exception using the specified abstract method name.

Parameters:
name- abstract method name
Returns:
A newly initialized exception
- (id) initWithReason: (NSString *)  reason

Initializes the exception using the specified error description.

Parameters:
reason- error descriprion
Returns:
A newly initialized exception
- (NSString *) methodName

Returns the abstract method name.

Returns:
Abstract method name

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