X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fengine%2FConversionException.hxx;h=1a31cd51c33429eff662d8080978e64eb1c90623;hb=17b2be6fdceef9981751309428fbfe58f155c48e;hp=58a94182fcc553752ca017fde06dcfd5b0263c7c;hpb=a84e60a749da66dffb73297fa5082b70b9d62f7d;p=modules%2Fyacs.git diff --git a/src/engine/ConversionException.hxx b/src/engine/ConversionException.hxx index 58a94182f..1a31cd51c 100644 --- a/src/engine/ConversionException.hxx +++ b/src/engine/ConversionException.hxx @@ -1,6 +1,26 @@ +// Copyright (C) 2006-2016 CEA/DEN, EDF R&D +// +// 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +// + #ifndef __CONVERSIONEXCEPTION_HXX__ #define __CONVERSIONEXCEPTION_HXX__ +#include "YACSlibEngineExport.hxx" #include "Exception.hxx" #include @@ -9,10 +29,10 @@ namespace YACS { namespace ENGINE { - class ConversionException : public Exception + class YACSLIBENGINE_EXPORT ConversionException : public Exception { public: - ConversionException(const std::string& what); + ConversionException(const std::string& what,bool prefix=true); virtual ~ConversionException() throw(); private: static const char TYPEOFEXCEPTION[];