All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mapbox.mapboxsdk.exceptions.TooManyIconsException Maven / Gradle / Ivy

There is a newer version: 9.2.1
Show newest version
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