00001 00002 /* 00003 jaula_name_duplicated.h : JSON Analysis User Library Acronym 00004 Object property name repeated exception 00005 00006 Copyright (C) 2007 Kombo Morongo <morongo666@gmail.com> 00007 00008 This library is free software; you can redistribute it and/or 00009 modify it under the terms of the GNU Lesser General Public 00010 License as published by the Free Software Foundation; either 00011 version 2.1 of the License, or (at your option) any later version. 00012 00013 This library is distributed in the hope that it will be useful, 00014 but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00016 Lesser General Public License for more details. 00017 00018 You should have received a copy of the GNU Lesser General Public 00019 License along with this library; if not, write to the Free Software 00020 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA 00021 00022 svn info: 00023 00024 $Author: morongo $ 00025 $HeadURL: https://jaula.svn.sourceforge.net/svnroot/jaula/trunk/jaula/jaula_name_duplicated.h $ 00026 $Id: jaula_name_duplicated.h 20 2007-04-20 17:45:13Z morongo $ 00027 $Revision: 20 $ 00028 */ 00029 00031 // // 00032 // jaula_name_duplicated.h : JSON analysis for application Readers // 00033 // Object property name repeated exception // 00034 // // 00035 // (c) 2007 Kombo Morongo <morongo666@gmail.com> // 00036 // // 00038 00039 #ifndef _JAULA_NAME_DUPLICATED_H_ 00040 #define _JAULA_NAME_DUPLICATED_H_ 00041 00042 #include <jaula/jaula_exception.h> 00043 00052 namespace JAULA 00053 { // namespace JAULA 00054 00067 class Name_Duplicated : public Exception 00068 { // class Name_Duplicated 00069 public: 00070 00085 Name_Duplicated(std::string const &name = "" 00086 , std::string const &action = "" 00087 , std::string const &origin = ""); 00088 00092 virtual ~Name_Duplicated(); 00093 00097 std::string const &getName(void) const; 00098 00106 virtual std::string const &getDetail(void) const; 00107 00114 void setName(std::string const &name); 00115 00131 Name_Duplicated &operator=(Name_Duplicated const &orig); 00132 00133 private: 00134 00138 std::string name_; 00139 00143 std::string detail_; 00144 }; // class Name_Duplicated 00145 00146 } // namespace JAULA 00147 #endif 00148 00149 // EOF $Id: jaula_name_duplicated.h 20 2007-04-20 17:45:13Z morongo $
Copyright (c) 2007 Kombo Morongo.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".