package anastore.util;

/**
 * An exception that is thrown to indicate that the requested
 * timestamp is either too far in the future or too far in the past.
 */
public class IllegalTimestampException extends IllegalArgumentException
{
    public IllegalTimestampException(long timestamp)
    {
        super(Long.toString(timestamp));
    }

    public IllegalTimestampException(long timestamp, String message)
    {
        super(timestamp + ": " + message);
    }
}
