All Downloads are FREE. Search and download functionalities are using the official Maven repository.

javapns.notification.exceptions.PayloadIsEmptyException Maven / Gradle / Ivy

There is a newer version: 2.4.2
Show newest version
package javapns.notification.exceptions;

/**
 * Thrown when a payload is empty.
 *
 * @author Sylvain Pedneault
 */

public class PayloadIsEmptyException extends Exception {

  private static final long serialVersionUID = 8142083854784121700L;

  public PayloadIsEmptyException() {
    super("Payload is empty");
  }

  /**
   * Constructor with custom message
   *
   * @param message
   */
  public PayloadIsEmptyException(final String message) {
    super(message);
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy