MessageNotSentException.java

  1. package fr.sii.ogham.core.exception;

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

  3. import fr.sii.ogham.core.message.Message;

  4. /**
  5.  * This specialized exception indicates that the {@link Message} has not been
  6.  * send due to an error.
  7.  *
  8.  * @author AurĂ©lien Baudet
  9.  *
  10.  */
  11. public class MessageNotSentException extends MessageException {
  12.     private static final long serialVersionUID = SERIAL_VERSION_UID;

  13.     public MessageNotSentException(String message, Message msg, Throwable cause) {
  14.         super(message, msg, cause);
  15.     }

  16.     public MessageNotSentException(String message, Message msg) {
  17.         super(message, msg);
  18.     }

  19.     public MessageNotSentException(Throwable cause, Message msg) {
  20.         super(cause, msg);
  21.     }
  22. }