jaula_name_duplicated.h
/*
* jaula_name_duplicated.h : JSON Analysis User Library Acronym
* Object property name repeated exception
*
* Copyright (C) 2007, 2008, 2009 Kombo Morongo <morongo666@gmail.com>
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or (at
* your option) any later version.
*
* This library is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
* License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this library; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*
* svn info:
* $Author: morongo $
* $HeadURL: https://jaula.svn.sourceforge.net/svnroot/jaula/tags/jaula-1.4.0/jaula/jaula_name_duplicated.h $
* $Id: jaula_name_duplicated.h 45 2009-01-11 16:17:03Z morongo $
* $Revision: 45 $
*/
// //
// jaula_name_duplicated.h : JSON analysis for application Readers //
// Object property name repeated exception //
// //
// (c) 2007 Kombo Morongo <morongo666@gmail.com> //
// //
#ifndef _JAULA_NAME_DUPLICATED_H_
#define _JAULA_NAME_DUPLICATED_H_
#include <jaula/jaula_exception.h>
namespace JAULA
{ // namespace JAULA
class Name_Duplicated : public Exception
{ // class Name_Duplicated
public:
Name_Duplicated(std::string const &name = ""
, std::string const &action = ""
, std::string const &origin = "");
virtual ~Name_Duplicated();
std::string const &getName(void) const;
virtual std::string const &getDetail(void) const;
void setName(std::string const &name);
Name_Duplicated &operator=(Name_Duplicated const &orig);
private:
std::string name_;
std::string detail_;
}; // class Name_Duplicated
} // namespace JAULA
#endif
// EOF $Id: jaula_name_duplicated.h 45 2009-01-11 16:17:03Z morongo $
JAULA::Exception::Exception
Exception(ExCode code=NO_ERROR, std::string const &detail="", std::string const &action="", std::string const &origin="")
Constructor.
Definition jaula_exception.cc:42
JAULA::Name_Duplicated::getName
std::string const & getName(void) const
Retrieves the name of the duplicated property.
Definition jaula_name_duplicated.cc:55
JAULA::Name_Duplicated::Name_Duplicated
Name_Duplicated(std::string const &name="", std::string const &action="", std::string const &origin="")
Constructor.
Definition jaula_name_duplicated.cc:42
JAULA::Name_Duplicated::name_
std::string name_
Definition jaula_name_duplicated.h:130
JAULA::Name_Duplicated::~Name_Duplicated
virtual ~Name_Duplicated()
Destructor.
Definition jaula_name_duplicated.cc:52
JAULA::Name_Duplicated::operator=
Name_Duplicated & operator=(Name_Duplicated const &orig)
Assignment operator.
Definition jaula_name_duplicated.cc:74
JAULA::Name_Duplicated::detail_
std::string detail_
Definition jaula_name_duplicated.h:135
JAULA::Name_Duplicated::getDetail
virtual std::string const & getDetail(void) const
Retrieves the detailed description for the exception.
Definition jaula_name_duplicated.cc:60
JAULA::Name_Duplicated::setName
void setName(std::string const &name)
Establishes the name for the duplicated property.
Definition jaula_name_duplicated.cc:65
JAULA
Namespace for all library definitions.
Definition jaula.h:439

Back to JAULA Project Documentation Page.

Go to JAULA Project Home Page.

Copyright (c) 2007, 2008, 2009 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".

SourceForge.net