com.stackmob.sdk.exception
Class StackMobHTTPResponseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.stackmob.sdk.exception.StackMobException
              extended by com.stackmob.sdk.exception.StackMobHTTPResponseException
All Implemented Interfaces:
Serializable

public class StackMobHTTPResponseException
extends StackMobException

See Also:
Serialized Form

Constructor Summary
StackMobHTTPResponseException(Integer code, List<Map.Entry<String,String>> headers, byte[] body)
           
 
Method Summary
 byte[] getBody()
           
 Integer getCode()
           
 List<Map.Entry<String,String>> getHeaders()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StackMobHTTPResponseException

public StackMobHTTPResponseException(Integer code,
                                     List<Map.Entry<String,String>> headers,
                                     byte[] body)
Method Detail

getCode

public Integer getCode()

getHeaders

public List<Map.Entry<String,String>> getHeaders()

getBody

public byte[] getBody()


Copyright © 2012 StackMob. All Rights Reserved.