summaryrefslogtreecommitdiff
path: root/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/exceptions/InvalidMarkerPositionException.java
blob: f0f9b9236b2c2c5c42720999a530ea4ce828cdb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package com.mapbox.mapboxsdk.exceptions;

/**
 * A InvalidMarkerPositionException is thrown when a Marker object is created with an invalid LatLng position.
 */
public class InvalidMarkerPositionException extends RuntimeException {

  public InvalidMarkerPositionException() {
    super("Adding an invalid Marker to a Map. "
      + "Missing the required position field. "
      + "Provide a non null LatLng as position to the Marker.");
  }
}