fork of https://github.com/oxigraph/rocksdb and https://github.com/facebook/rocksdb for nextgraph and oxigraph
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
489 B
25 lines
489 B
12 years ago
|
/**
|
||
|
* A simple structure for exceptions in RedisLists.
|
||
|
*
|
||
|
* @author Deon Nicholas (dnicholas@fb.com)
|
||
|
* Copyright 2013 Facebook
|
||
|
*/
|
||
|
|
||
|
#ifndef LEVELDB_REDIS_LIST_EXCEPTION_H
|
||
|
#define LEVELDB_REDIS_LIST_EXCEPTION_H
|
||
|
|
||
|
#include <exception>
|
||
|
|
||
|
namespace leveldb {
|
||
|
|
||
|
class RedisListException: public std::exception {
|
||
|
public:
|
||
|
const char* what() const throw() {
|
||
|
return "Invalid operation or corrupt data in Redis List.";
|
||
|
}
|
||
|
};
|
||
|
|
||
|
} // namespace leveldb
|
||
|
|
||
|
#endif // LEVELDB_REDIS_LIST_EXCEPTION_H
|