com.fitbit.api
Class FitbitApiError
java.lang.Object
com.fitbit.api.FitbitApiError
public class FitbitApiError
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FitbitApiError
public FitbitApiError(FitbitApiError.ErrorType errorType,
String fieldName,
String message)
FitbitApiError
public FitbitApiError(FitbitApiError.ErrorType errorType,
String message)
FitbitApiError
public FitbitApiError(org.json.JSONObject res)
throws FitbitAPIException
- Throws:
FitbitAPIException
constructFitbitApiErrorList
public static List<FitbitApiError> constructFitbitApiErrorList(Response res)
throws FitbitAPIException
- Throws:
FitbitAPIException
getErrorType
public FitbitApiError.ErrorType getErrorType()
setErrorType
public void setErrorType(FitbitApiError.ErrorType errorType)
getMessage
public String getMessage()
setMessage
public void setMessage(String message)
getFieldName
public String getFieldName()
setFieldName
public void setFieldName(String fieldName)
Copyright © 2012. All Rights Reserved.