00001 /* This is for emacs: -*-Mode: C++;-*- */ 00002 #if !defined(__INC_WARNING_H) 00003 #define __INC_WARNING_H 00004 00005 #include <string> 00006 00007 #include "gql++/exception.h" 00008 00009 namespace GQL 00010 { 00011 00012 class SQLWarning : public SQLException 00013 { 00014 public: 00015 SQLWarning(const std::string& str = std::string(), 00016 const std::string& state = std::string(), 00017 int err = 0) 00018 : SQLException(str, state, err) { } 00019 }; 00020 00021 } 00022 00023 #endif