ResourceTranslatorException.java

  1. package fr.sii.ogham.email.exception.attachment.translator;

  2. import static fr.sii.ogham.core.CoreConstants.SERIAL_VERSION_UID;

  3. import fr.sii.ogham.core.exception.MessagingException;
  4. import fr.sii.ogham.core.exception.resource.ResourceResolutionException;

  5. /**
  6.  * Ogham uses a chain to transform original resource into final resource. For
  7.  * example, the original resource may be a relative resource. Therefore, is an
  8.  * element in the chain that may resolve the final resource relative to another
  9.  * one.
  10.  *
  11.  * This exception wraps a {@link ResourceResolutionException}.
  12.  *
  13.  * @author AurĂ©lien Baudet
  14.  *
  15.  */
  16. public class ResourceTranslatorException extends MessagingException {
  17.     private static final long serialVersionUID = SERIAL_VERSION_UID;

  18.     public ResourceTranslatorException(String message, Throwable cause) {
  19.         super(message, cause);
  20.     }

  21. }