@Override
    public <T> T getFromCache(AssetKey<T> key) {
        AssetCache cache = handler.getCache(key.getCacheType());
        if (cache != null) {
            T asset = cache.getFromCache(key);
            if (asset != null) {
                // Since getFromCache fills the load stack, it has to be popped
                cache.notifyNoAssetClone();
            }
            return asset;
        } else {
            throw new IllegalArgumentException("Key " + key + " specifies no cache.");
        }
    }
<code>AssetManager</code> is the primary method for managing and loading
assets inside jME.

@author Kirill Vainer
jme3-core/src/main/java/com/jme3/asset/DesktopAssetManager.java