ProductAlreadyInStorageException.java
/*
* StorageException
*/
package gov.usgs.earthquake.distribution;
/**
* An exception thrown when storing a product already in storage.
*/
public class ProductAlreadyInStorageException extends Exception {
/** Serial version UID. */
private static final long serialVersionUID = 1L;
/**
* Construct a new StorageException object.
*
* @param message
* description of exception.
*/
public ProductAlreadyInStorageException(String message) {
super(message);
}
/**
* Construct a new StorageException object.
*
* @param message
* description of exception
* @param cause
* the exception that caused this exception.
*/
public ProductAlreadyInStorageException(String message, Throwable cause) {
super(message, cause);
}
}