ContentTypeNotSupportedException.java

/*
 * ContentTypeNotSupportedException
 */
package gov.usgs.earthquake.distribution;

/**
 * An exception thrown when storing a product already in storage.
 */
public class ContentTypeNotSupportedException extends Exception {

  /** Serial version UID. */
  private static final long serialVersionUID = 1L;

  /**
   * Construct a new ContentTypeNotSupportedException object.
   *
   * @param message description of exception.
   */
  public ContentTypeNotSupportedException(String message) {
    super(message);
  }

  /**
   * Construct a new ContentTypeNotSupportedException object.
   *
   * @param message description of exception
   * @param cause   the exception that caused this exception.
   */
  public ContentTypeNotSupportedException(String message, Throwable cause) {
    super(message, cause);
  }

}