AvailabilityException

Stay organized with collections Save and categorize content based on your preferences.
public class AvailabilityException extends Exception

Contains the result of an availability check for one or more GoogleApis.

Public Method Summary

ConnectionResult
getConnectionResult(HasApiKey<? extends Api.ApiOptions> api)
Returns a ConnectionResult indicating if the specified API is available.
ConnectionResult
getConnectionResult(GoogleApi<? extends Api.ApiOptions> api)
Returns a ConnectionResult indicating if the specified API is available.
String
getMessage()
Lists the ConnectionResult per API.

Inherited Method Summary

Public Methods

public ConnectionResult getConnectionResult (HasApiKey<? extends Api.ApiOptions> api)

Returns a ConnectionResult indicating if the specified API is available.

public ConnectionResult getConnectionResult (GoogleApi<? extends Api.ApiOptions> api)

Returns a ConnectionResult indicating if the specified API is available.

public String getMessage ()

Lists the ConnectionResult per API.