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

The base class for all exceptions in ObjFW. More...

#import <OFException.h>

Inheritance diagram for OFException:
OFObject <OFObject> OFAcceptFailedException OFAddressTranslationFailedException OFAlreadyConnectedException OFBindFailedException OFChangeDirectoryFailedException OFChangeFileModeFailedException OFChangeFileOwnerFailedException OFConditionBroadcastFailedException OFConditionSignalFailedException OFConditionStillWaitingException OFConditionWaitFailedException OFConnectionFailedException OFCopyFileFailedException OFCreateDirectoryFailedException OFDeleteDirectoryFailedException OFDeleteFileFailedException OFEnumerationMutationException OFHashAlreadyCalculatedException OFHTTPRequestFailedException OFInitializationFailedException OFInvalidArgumentException OFInvalidEncodingException OFInvalidFormatException OFInvalidServerReplyException OFLinkFailedException OFListenFailedException OFMalformedXMLException OFMemoryNotPartOfObjectException OFMutexLockFailedException OFMutexStillLockedException OFMutexUnlockFailedException OFNotConnectedException OFNotImplementedException OFOpenFileFailedException OFOutOfMemoryException OFOutOfRangeException OFReadOrWriteFailedException OFRenameFileFailedException OFSeekFailedException OFSetOptionFailedException OFSymlinkFailedException OFThreadJoinFailedException OFThreadStartFailedException OFThreadStillRunningException OFTruncatedDataException OFUnboundNamespaceException OFUnsupportedProtocolException

List of all members.

Public Member Functions

(id) - initWithClass:
(Class) - inClass
(OFString *) - description

Static Public Member Functions

(id) + exceptionWithClass:

Detailed Description

The base class for all exceptions in ObjFW.

The OFException class is the base class for all exceptions in ObjFW, except the OFAllocFailedException.


Member Function Documentation

- (OFString*) description
Returns:
A description of the exception

Reimplemented from OFObject.

+ (id) exceptionWithClass: (Class)  class_

Creates a new exception.

Parameters:
class_The class of the object which caused the exception
Returns:
A new exception
- (Class) inClass
Returns:
The class of the object in which the exception happened
- (id) initWithClass: (Class)  class_

Initializes an already allocated OFException.

Parameters:
class_The class of the object which caused the exception
Returns:
An initialized OFException

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