- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- AssetProvider.AssetNotFoundException, AssetProvider.IllegalItemKeyException, AssetProviderRegistry.NoSuchAssetProviderException, AssetProviderRegistry.NoSuchAssetRendererException, PathAwareAssetProvider.PathNotFoundException, RenditionAwareAssetProvider.AssetRenditionException
public abstract class DamException
extends RuntimeException
An abstract exception class that all DAM exceptions should extend. It is abstract to enforce usage of specific
exceptions for specific cases. Implementations should provide useful constructor (e.g with typed arguments, e.g. Asset)
and construct consistent messages, rather that let client code generate arbitrary messages.
It is not *named* AbstractDamException to make it slightly more elegant to handle in client code.
It is a RuntimeException because when thrown, subclasses of this exception are actually not meant to be dealt with by
client code (other than, perhaps, presenting the user with an error message of sorts)
- See Also:
- Serialized Form