info.magnolia.dam.api
Class DamException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
info.magnolia.dam.api.DamException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- AssetProvider.AssetNotFoundException, AssetProvider.IllegalItemKeyException, AssetProviderRegistry.NoSuchAssetProviderException, AssetProviderRegistry.NoSuchAssetRendererException, PathAwareAssetProvider.PathNotFoundException
public abstract class DamException
- extends RuntimeException
An abstract exception class that all DAM exceptions can extend.
It is abstract to enforce usage of specific exceptions for specific cases.
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 meant to be dealt with by
client code (other than, perhaps, presenting the user with an error message of sorts)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
DamException
public DamException(String message)
DamException
public DamException(String message,
Throwable cause)
Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.