Package | com.pushtechnology.diffusion.errors |
Class | public class ServiceTopicError |
Inheritance | ServiceTopicError ![]() |
Since : | 4.1 |
Method | Defined By | ||
---|---|---|---|
ServiceTopicError(handler:ServiceTopicHandler, requestId:String, errorType:String, errorMessage:String)
Constructor. | ServiceTopicError | ||
getAdditionalDetails():String
Returns additional details. | ServiceTopicError | ||
getErrorMessage():String
Returns the error message. | ServiceTopicError | ||
getErrorType():String
Returns the error type. | ServiceTopicError | ||
getExceptionMessage():String
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 |
Constant | Defined By | ||
---|---|---|---|
ERROR_RESPONSE_TYPE : String = !ERR [static] | ServiceTopicError |
ServiceTopicError | () | Constructor |
public function ServiceTopicError(handler:ServiceTopicHandler, requestId:String, errorType:String, errorMessage:String)
Constructor.
Parametershandler:ServiceTopicHandler | |
requestId:String | |
errorType:String | |
errorMessage:String |
getAdditionalDetails | () | method |
public function getAdditionalDetails():String
Returns additional details.
ReturnsString — additional details if any are available , otherwise null.
|
getErrorMessage | () | method |
public function getErrorMessage():String
Returns the error message.
ReturnsString — the error message.
|
getErrorType | () | method |
public function getErrorType():String
Returns the error type.
ReturnsString — the error type.
|
getExceptionMessage | () | method |
public function getExceptionMessage():String
Returns an exception message.
ReturnsString — an exception message or null if no exception message is available.
|
getHandler | () | method |
public function getHandler():ServiceTopicHandler
Returns the handler that notified the error.
ReturnsServiceTopicHandler — the handler.
|
getRequestId | () | method |
public function getRequestId():String
Returns the request identifier of the failed service request.
ReturnsString — 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 |
ERROR_RESPONSE_TYPE | Constant |
public static const ERROR_RESPONSE_TYPE:String = !ERR