Packagecom.amazonaws
Classpublic class AmazonWebServiceErrorResult
InheritanceAmazonWebServiceErrorResult Inheritance AmazonWebServiceResult Inheritance Object

Language Version : ActionScript 3.0
Product Version : Flex 4
Since : February 7. 2011
Runtime Versions : Flash Player 10.1, AIR 2.5

Error response holder.

See also

http://docs.amazonwebservices.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/


Public Properties
 PropertyDefined By
 InheritedrawData : Object
Gets received raw data (XML format).
AmazonWebServiceResult
Public Methods
 MethodDefined By
  
AmazonWebServiceErrorResult
  
getCode():String
A Code element that identifies the type of error that occurred.
AmazonWebServiceErrorResult
  
getDetail():String
A Detail element that might give additional details about the error or might be empty.
AmazonWebServiceErrorResult
  
getMessage():String
A Message element that describes the error condition in a human-readable form
AmazonWebServiceErrorResult
 Inherited
getRequestId():String
The AWS request ID that uniquely identifies the service request the caller made.
AmazonWebServiceResult
  
getType():String
A Type element that identifies whether the error was a receiver or sender error.
AmazonWebServiceErrorResult
  
parse(data:Object = null):ResponseResult
[override] Returns parsed XML data from AWS response.
AmazonWebServiceErrorResult
  
setCode(code:String):void
A Code element that identifies the type of error that occurred.
AmazonWebServiceErrorResult
  
setDetail(detail:String):void
A Detail element that might give additional details about the error or might be empty.
AmazonWebServiceErrorResult
  
setMessage(message:String):void
A Message element that describes the error condition in a human-readable form
AmazonWebServiceErrorResult
 Inherited
setRequestId(requestId:String):void
The AWS request ID that uniquely identifies the service request the caller made.
AmazonWebServiceResult
  
setType(type:String):void
A Type element that identifies whether the error was a receiver or sender error.
AmazonWebServiceErrorResult
  
toString():String
[override] Returns a string representation of this object; useful for testing and debugging.
AmazonWebServiceErrorResult
  
A Code element that identifies the type of error that occurred.
AmazonWebServiceErrorResult
  
A Detail element that might give additional details about the error or might be empty.
AmazonWebServiceErrorResult
  
A Message element that describes the error condition in a human-readable form
AmazonWebServiceErrorResult
 Inherited
withRawData(rawData:Object):ResponseResult
Sets new raw data.
AmazonWebServiceResult
 Inherited
withRequestId(requestId:String):ResponseResult
The AWS request ID that uniquely identifies the service request the caller made.
AmazonWebServiceResult
  
A Type element that identifies whether the error was a receiver or sender error.
AmazonWebServiceErrorResult
Constructor Detail
AmazonWebServiceErrorResult()Constructor
public function AmazonWebServiceErrorResult()



Method Detail
getCode()method
public function getCode():String

A Code element that identifies the type of error that occurred.

Returns
String — Element that identifies the type of error that occurred.
getDetail()method 
public function getDetail():String

A Detail element that might give additional details about the error or might be empty.

Returns
String — Detail element that might give additional details about the error or might be empty.
getMessage()method 
public function getMessage():String

A Message element that describes the error condition in a human-readable form

Returns
String — Element that describes the error condition in a human-readable form.
getType()method 
public function getType():String

A Type element that identifies whether the error was a receiver or sender error.

Returns
String — Element that identifies whether the error was a receiver or sender error.
parse()method 
override public final function parse(data:Object = null):ResponseResult

Returns parsed XML data from AWS response.

Parameters

data:Object (default = null) — raw data to be parsed

Returns
ResponseResult — A reference to this updated object so that method calls can be chained together.

Throws
SyntaxError
setCode()method 
public function setCode(code:String):void

A Code element that identifies the type of error that occurred.

Parameters

code:String — Element that identifies the type of error that occurred.

setDetail()method 
public function setDetail(detail:String):void

A Detail element that might give additional details about the error or might be empty.

Parameters

detail:String — Element that might give additional details about the error or might be empty.

setMessage()method 
public function setMessage(message:String):void

A Message element that describes the error condition in a human-readable form

Parameters

message:String — Element that describes the error condition in a human-readable form.

setType()method 
public function setType(type:String):void

A Type element that identifies whether the error was a receiver or sender error.

Parameters

type:String — Element that identifies whether the error was a receiver or sender error.

toString()method 
override public function toString():String

Returns a string representation of this object; useful for testing and debugging.

Returns
String — A string representation of this object.
withCode()method 
public function withCode(code:String):AmazonWebServiceErrorResult

A Code element that identifies the type of error that occurred.

Parameters

code:String — Element that identifies the type of error that occurred.

Returns
AmazonWebServiceErrorResult — A reference to this updated object so that method calls can be chained together.
withDetail()method 
public function withDetail(detail:String):AmazonWebServiceErrorResult

A Detail element that might give additional details about the error or might be empty.

Parameters

detail:String — Element that might give additional details about the error or might be empty.

Returns
AmazonWebServiceErrorResult — A reference to this updated object so that method calls can be chained together.
withMessage()method 
public function withMessage(message:String):AmazonWebServiceErrorResult

A Message element that describes the error condition in a human-readable form

Parameters

message:String — Element that describes the error condition in a human-readable form.

Returns
AmazonWebServiceErrorResult — A reference to this updated object so that method calls can be chained together.
withType()method 
public function withType(type:String):AmazonWebServiceErrorResult

A Type element that identifies whether the error was a receiver or sender error.

Parameters

type:String — Element that identifies whether the error was a receiver or sender error.

Returns
AmazonWebServiceErrorResult — A reference to this updated object so that method calls can be chained together.