Inherits from NSException
Declared in AmazonClientException.h

Overview

Generic excpetion type for AWS client errors Client exceptions are thrown for conditions which occur in the client and its configuration. These are conditions which need to be corrected in the client. Service exceptions are indicated by throwing AWSServiceException.

Tasks

Properties

error

The error that caused the exception.

@property (nonatomic, retain) NSError *error

Discussion

The error that caused the exception.

Declared In

AmazonClientException.h

message

Description of the exception

@property (nonatomic, retain) NSString *message

Discussion

Description of the exception

Declared In

AmazonClientException.h

Class Methods

exceptionWithMessage:

Return an exception with the given message

+ (id)exceptionWithMessage:(NSString *)theMessage

Parameters

theMessage

The user-friendly message

Discussion

Return an exception with the given message

Declared In

AmazonClientException.h

exceptionWithMessage:andError:

Return an exception with the given message and error.

+ (id)exceptionWithMessage:(NSString *)theMessage andError:(NSError *)theError

Parameters

theMessage

The user-friendly message

theError

The error

Discussion

Return an exception with the given message and error.

Declared In

AmazonClientException.h

Instance Methods

initWithMessage:

Initialize the exception with a message.

- (id)initWithMessage:(NSString *)message

Parameters

message

The message.

Discussion

Initialize the exception with a message.

Declared In

AmazonClientException.h

initWithName:reason:userInfo:

Initialize the exception with a name, reason and userInfo.

- (id)initWithName:(NSString *)name reason:(NSString *)reason userInfo:(NSDictionary *)userInfo

Parameters

name

The name.

reason

The reason.

userInfo

The userInfo.

Discussion

Initialize the exception with a name, reason and userInfo.

Declared In

AmazonClientException.h