com.stackmob.sdk.api
Class StackMobRequestSendResult

java.lang.Object
  extended by com.stackmob.sdk.api.StackMobRequestSendResult

public class StackMobRequestSendResult
extends java.lang.Object


Nested Class Summary
static class StackMobRequestSendResult.RequestSendStatus
           
 
Constructor Summary
StackMobRequestSendResult()
           
StackMobRequestSendResult(StackMobRequestSendResult.RequestSendStatus status, java.lang.Throwable failureReason)
           
 
Method Summary
 java.lang.Throwable getFailureReason()
          get the reason for the send failure
 StackMobRequestSendResult.RequestSendStatus getStatus()
          get the status of the send
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StackMobRequestSendResult

public StackMobRequestSendResult(StackMobRequestSendResult.RequestSendStatus status,
                                 java.lang.Throwable failureReason)

StackMobRequestSendResult

public StackMobRequestSendResult()
Method Detail

getStatus

public StackMobRequestSendResult.RequestSendStatus getStatus()
get the status of the send

Returns:
the RequestSendStatus representing what happened after the send was attempted

getFailureReason

public java.lang.Throwable getFailureReason()
get the reason for the send failure

Returns:
a throwable representing the reason for the send failure, or null if there was no send failure


Copyright © 2012 StackMob. All Rights Reserved.