jaula API Reference
version 1.4.0
|
00001 00002 /* 00003 * jaula_name_duplicated.h : JSON Analysis User Library Acronym 00004 * Object property name repeated exception 00005 * 00006 * Copyright (C) 2007, 2008, 2009 Kombo Morongo <morongo666@gmail.com> 00007 * 00008 * This library is free software; you can redistribute it and/or modify it 00009 * under the terms of the GNU Lesser General Public License as published by 00010 * the Free Software Foundation; either version 2.1 of the License, or (at 00011 * your option) any later version. 00012 * 00013 * This library is distributed in the hope that it will be useful, but 00014 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 00015 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public 00016 * License for more details. 00017 * 00018 * You should have received a copy of the GNU Lesser General Public License 00019 * along with this library; if not, write to the Free Software Foundation, 00020 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA 00021 * 00022 * svn info: 00023 * $Author: morongo $ 00024 * $HeadURL: https://jaula.svn.sourceforge.net/svnroot/jaula/tags/jaula-1.4.0/jaula/jaula_name_duplicated.h $ 00025 * $Id: jaula_name_duplicated.h 45 2009-01-11 16:17:03Z morongo $ 00026 * $Revision: 45 $ 00027 */ 00028 00030 // // 00031 // jaula_name_duplicated.h : JSON analysis for application Readers // 00032 // Object property name repeated exception // 00033 // // 00034 // (c) 2007 Kombo Morongo <morongo666@gmail.com> // 00035 // // 00037 00038 #ifndef _JAULA_NAME_DUPLICATED_H_ 00039 #define _JAULA_NAME_DUPLICATED_H_ 00040 00041 #include <jaula/jaula_exception.h> 00042 00047 namespace JAULA 00048 { // namespace JAULA 00049 00061 class Name_Duplicated : public Exception 00062 { // class Name_Duplicated 00063 public: 00064 00079 Name_Duplicated(std::string const &name = "" 00080 , std::string const &action = "" 00081 , std::string const &origin = ""); 00082 00086 virtual ~Name_Duplicated(); 00087 00091 std::string const &getName(void) const; 00092 00100 virtual std::string const &getDetail(void) const; 00101 00107 void setName(std::string const &name); 00108 00123 Name_Duplicated &operator=(Name_Duplicated const &orig); 00124 00125 private: 00126 00130 std::string name_; 00131 00135 std::string detail_; 00136 }; // class Name_Duplicated 00137 00138 } // namespace JAULA 00139 #endif 00140 00141 // EOF $Id: jaula_name_duplicated.h 45 2009-01-11 16:17:03Z morongo $