blob: 44ee83265db9f27edd5fe9167356bc1a26a311bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
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 {
/**
* Creates a invalid marker position exception thrown when a Marker object is created with an invalid LatLng position.
*/
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.");
}
}
|