ECException


Abstract

abstract base class of all exceptions

Methods

-cause
returns the exception which caused the raise of the receiver of this message
-init
default constructor
-initWithReason:
Initialization specifyin the reason
-raiseWithPredecessor:
Raises the exception setting the hand-off exception as the cause of this raising.
-setCause:
Specify the exception which has previously been thrown and will cause the receiver of this message to be raisen

cause


returns the exception which caused the raise of the receiver of this message

- (NSException *) cause;
method result
the exception which caused the raise of the receiver of this message or nil, if not given

init


default constructor

- init;

initWithReason:


Initialization specifyin the reason

- initWithReason: (NSString *) aReason;

raiseWithPredecessor:


Raises the exception setting the hand-off exception as the cause of this raising.

- (void) raiseWithPredecessor: (NSException *) predecessor;
Parameter Descriptions
predecessor
Exception which caused the receiver of this message to be raised.

setCause:


Specify the exception which has previously been thrown and will cause the receiver of this message to be raisen

- setCause: (NSException *) causingException;
Discussion

Do only call this method once per instance! Otherwise it will throw an exception for itself!

(Last Updated November 08, 2007)