com.fitbit.api
Class FitbitAPIException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.fitbit.api.FitbitAPIException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
FitbitAPISecurityException

public class FitbitAPIException
extends Exception

See Also:
Serialized Form

Constructor Summary
FitbitAPIException(Exception cause)
           
FitbitAPIException(String msg)
           
FitbitAPIException(String msg, Exception cause)
           
FitbitAPIException(String msg, Exception cause, int statusCode)
           
FitbitAPIException(String msg, int statusCode)
           
FitbitAPIException(String cause, Response res)
           
 
Method Summary
 List<FitbitApiError> getApiErrors()
           
 int getStatusCode()
           
 
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

FitbitAPIException

public FitbitAPIException(String msg)

FitbitAPIException

public FitbitAPIException(Exception cause)

FitbitAPIException

public FitbitAPIException(String msg,
                          int statusCode)

FitbitAPIException

public FitbitAPIException(String msg,
                          Exception cause)

FitbitAPIException

public FitbitAPIException(String msg,
                          Exception cause,
                          int statusCode)

FitbitAPIException

public FitbitAPIException(String cause,
                          Response res)
                   throws FitbitAPIException
Throws:
FitbitAPIException
Method Detail

getStatusCode

public int getStatusCode()

getApiErrors

public List<FitbitApiError> getApiErrors()


Copyright © 2012. All Rights Reserved.