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