package com.mapbox.mapboxsdk.exceptions; import android.os.Bundle; import com.mapbox.mapboxsdk.MapboxAccountManager; import com.mapbox.mapboxsdk.maps.MapView; /** * A MapboxAccountManagerNotStartedException is thrown by {@link com.mapbox.mapboxsdk.maps.MapView} * when {@link MapboxAccountManager} is not started before {@link MapView#onCreate(Bundle)}. * * @see MapView#onCreate(Bundle) * @see MapboxAccountManager#start(android.content.Context, String) */ public class MapboxAccountManagerNotStartedException extends RuntimeException { public MapboxAccountManagerNotStartedException() { super("\nMapboxAccountManager was not started correctly. Use MapboxAccountManager#start(Context, String) to" + "initialise. " + "\nMore information in this guide https://www.mapbox.com/help/first-steps-android-sdk/#access-tokens."); } }