com.jakewharton.trakt
Class TraktException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.jakewharton.trakt.TraktException
All Implemented Interfaces:
Serializable

public final class TraktException
extends RuntimeException

See Also:
Serialized Form

Constructor Summary
TraktException(String url, com.jakewharton.apibuilder.ApiException cause)
           
TraktException(String url, com.google.gson.JsonObject postBody, com.jakewharton.apibuilder.ApiException cause)
           
TraktException(String url, com.google.gson.JsonObject postBody, com.jakewharton.apibuilder.ApiException cause, Response response)
           
 
Method Summary
 com.google.gson.JsonObject getPostBody()
           
 Response getResponse()
           
 String getUrl()
           
 
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

TraktException

public TraktException(String url,
                      com.jakewharton.apibuilder.ApiException cause)

TraktException

public TraktException(String url,
                      com.google.gson.JsonObject postBody,
                      com.jakewharton.apibuilder.ApiException cause)

TraktException

public TraktException(String url,
                      com.google.gson.JsonObject postBody,
                      com.jakewharton.apibuilder.ApiException cause,
                      Response response)
Method Detail

getUrl

public String getUrl()

getPostBody

public com.google.gson.JsonObject getPostBody()

getResponse

public Response getResponse()


Copyright © 2011 Jake Wharton. All Rights Reserved.