AmazonClientException Class Reference
| 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
-
messageDescription of the exception
property -
errorThe error that caused the exception.
property -
– initWithMessage:Initialize the exception with a message.
-
– initWithName:reason:userInfo:Initialize the exception with a name, reason and userInfo.
-
+ exceptionWithMessage:Return an exception with the given message
-
+ exceptionWithMessage:andError:Return an exception with the given message and error.
Properties
Class Methods
exceptionWithMessage:
Return an exception with the given message
+ (id)exceptionWithMessage:(NSString *)theMessageParameters
- theMessage
The user-friendly message
Discussion
Return an exception with the given message
Declared In
AmazonClientException.hexceptionWithMessage:andError:
Return an exception with the given message and error.
+ (id)exceptionWithMessage:(NSString *)theMessage andError:(NSError *)theErrorParameters
- theMessage
The user-friendly message
- theError
The error
Discussion
Return an exception with the given message and error.
Declared In
AmazonClientException.hInstance Methods
initWithMessage:
Initialize the exception with a message.
- (id)initWithMessage:(NSString *)messageParameters
- message
The message.
Discussion
Initialize the exception with a message.
Declared In
AmazonClientException.hinitWithName:reason:userInfo:
Initialize the exception with a name, reason and userInfo.
- (id)initWithName:(NSString *)name reason:(NSString *)reason userInfo:(NSDictionary *)userInfoParameters
- name
The name.
- reason
The reason.
- userInfo
The userInfo.
Discussion
Initialize the exception with a name, reason and userInfo.
Declared In
AmazonClientException.h