Packagecom.pushtechnology.diffusion.errors
Classpublic class ServiceTopicError
InheritanceServiceTopicError Inheritance Object

Since : 4.1

Encapsulates the details of a Service Topic error.



Public Methods
 MethodDefined By
  
ServiceTopicError(handler:ServiceTopicHandler, requestId:String, errorType:String, errorMessage:String)
Constructor.
ServiceTopicError
  
Returns additional details.
ServiceTopicError
  
Returns the error message.
ServiceTopicError
  
getErrorType():String
Returns the error type.
ServiceTopicError
  
Returns an exception message.
ServiceTopicError
  
Returns the handler that notified the error.
ServiceTopicError
  
getRequestId():String
Returns the request identifier of the failed service request.
ServiceTopicError
  
setAdditionalDetails(message:String):void
Set additional details.
ServiceTopicError
  
setExceptionMessage(message:String):void
Set an exception message.
ServiceTopicError
Public Constants
 ConstantDefined By
  ERROR_RESPONSE_TYPE : String = !ERR
[static]
ServiceTopicError
Constructor Detail
ServiceTopicError()Constructor
public function ServiceTopicError(handler:ServiceTopicHandler, requestId:String, errorType:String, errorMessage:String)

Constructor.

Parameters
handler:ServiceTopicHandler
 
requestId:String
 
errorType:String
 
errorMessage:String
Method Detail
getAdditionalDetails()method
public function getAdditionalDetails():String

Returns additional details.

Returns
String — additional details if any are available , otherwise null.
getErrorMessage()method 
public function getErrorMessage():String

Returns the error message.

Returns
String — the error message.
getErrorType()method 
public function getErrorType():String

Returns the error type.

Returns
String — the error type.
getExceptionMessage()method 
public function getExceptionMessage():String

Returns an exception message.

Returns
String — an exception message or null if no exception message is available.
getHandler()method 
public function getHandler():ServiceTopicHandler

Returns the handler that notified the error.

Returns
ServiceTopicHandler — the handler.
getRequestId()method 
public function getRequestId():String

Returns the request identifier of the failed service request.

Returns
String — the request identifier.
setAdditionalDetails()method 
public function setAdditionalDetails(message:String):void

Set additional details.

Parameters

message:String

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

Set an exception message.

Parameters

message:String

Constant Detail
ERROR_RESPONSE_TYPEConstant
public static const ERROR_RESPONSE_TYPE:String = !ERR