ObjFW
Public Member Functions | Static Public Member Functions
OFInvalidArgumentException Class Reference

An exception indicating that the argument is invalid for this method. More...

#import <OFInvalidArgumentException.h>

Inheritance diagram for OFInvalidArgumentException:
OFException OFObject <OFObject>

List of all members.

Public Member Functions

(id) - initWithClass:selector:
(SEL) - selector

Static Public Member Functions

(id) + exceptionWithClass:selector:

Detailed Description

An exception indicating that the argument is invalid for this method.


Member Function Documentation

+ (id) exceptionWithClass: (Class)  class_
selector: (SEL)  selector 
Parameters:
class_The class of the object which caused the exception
selectorThe selector which doesn't accept the argument
Returns:
A new invalid argument exception
- (id) initWithClass: (Class)  class_
selector: (SEL)  selector 

Initializes an already allocated invalid argument exception

Parameters:
class_The class of the object which caused the exception
selectorThe selector which doesn't accept the argument
Returns:
An initialized invalid argument exception
- (SEL) selector
Returns:
The selector to which an invalid argument was passed

The documentation for this class was generated from the following files:
 All Classes Functions Variables Properties