com.mapbox.mapboxsdk.exceptions.TooManyIconsException Maven / Gradle / Ivy
package com.mapbox.mapboxsdk.exceptions;
import com.mapbox.mapboxsdk.annotations.Icon;
import com.mapbox.mapboxsdk.annotations.IconFactory;
/**
*
* A {@code TooManyIconsException} is thrown by {@link IconFactory} when it
* cannot create a {@link Icon} because there are already too many icons created.
*
* You should try to reuse Icon objects whenever possible.
*
* @see IconFactory
*/
public class TooManyIconsException extends RuntimeException {
public TooManyIconsException() {
super("Cannot create an Icon because there are already too many. Try reusing Icon objects whenever possible.");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy