InvalidProductException.java

  1. package gov.usgs.earthquake.product;

  2. public class InvalidProductException extends Exception {

  3.     private static final long serialVersionUID = 0x2943A1B7;

  4.     /** Generic Invalid Product exception constructor */
  5.     public InvalidProductException() {
  6.         super();
  7.     }

  8.     /**
  9.      * Exception taking in a message
  10.      * @param message Message relating to exception
  11.      */
  12.     public InvalidProductException(String message) {
  13.         super(message);
  14.     }

  15.     /**
  16.      * Exception taking in a message, cause
  17.      * @param message Message relating to exception
  18.      * @param cause throwable relating to exception
  19.      */
  20.     public InvalidProductException(String message, Throwable cause) {
  21.         super(message, cause);
  22.     }

  23.     /**
  24.      * Exception taking in a cause
  25.      * @param cause throwable relating to exception
  26.      */
  27.     public InvalidProductException(Throwable cause) {
  28.     }
  29. }