Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
52 lines (43 sloc) 1.51 KB
/* -*- C++ -*-; c-basic-offset: 4; indent-tabs-mode: nil */
* @file ObsoleteVersionException.h
* @brief Interface definition file for ObsoleteVersionException
/* Copyright (c) 2009 Webroot Software, Inc.
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
#include <voldemort/VoldemortException.h>
using namespace std;
namespace Voldemort {
* An exception that indicates an attempt by the user to overwrite a
* newer value for a given key with an older value for the same
* key. This is a application-level error, and indicates the
* application has attempted to write stale data.
class ObsoleteVersionException: public VoldemortException
* Create a new VoldemortException with the provided message
* @param message The error message
ObsoleteVersionException(const std::string& message) :
VoldemortException(message) { }
} // namespace Voldemort
Jump to Line
Something went wrong with that request. Please try again.