00001 /* ************************************************************************* 00002 objectconstructionerror.h - description 00003 ------------------- 00004 begin : Wed Oct 16 2002 00005 copyright : (C) 2002 by Micha Riser 00006 email : mriser@gmx.net 00007 00008 $Id: objectconstructionerror_8h-source.html,v 1.1 2005/02/04 21:02:27 micha Exp $ 00009 00010 ************************************************************************* */ 00011 00012 /* ************************************************************************* 00013 * * 00014 * This program is free software; you can redistribute it and/or modify * 00015 * it under the terms of the GNU General Public License as published by * 00016 * the Free Software Foundation; either version 2 of the License, or * 00017 * (at your option) any later version. * 00018 * * 00019 ************************************************************************* */ 00020 00021 #ifndef OBJECTCONSTRUCTIONERROR_H 00022 #define OBJECTCONSTRUCTIONERROR_H 00023 00024 #include<string> 00025 00030 class ObjectConstructionError { 00031 public: // Private attributes 00032 const std::string message; 00033 00034 public: 00035 ObjectConstructionError(): message() {} 00039 ObjectConstructionError(std::string s): message(s) {} 00040 ~ObjectConstructionError() {} 00041 }; 00042 00043 #endif
1.3.8