Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

/ray/src/lib/serror.cc

Go to the documentation of this file.
00001 /*
00002  * lib/serror.cc
00003  * 
00004  * Standard / System error representation class: Implementation of non-inline 
00005  *  non-GLib dependent routines. 
00006  * 
00007  * Copyright (c) 2004 by Wolfgang Wieser ] wwieser (a) gmx <*> de [ 
00008  * 
00009  * This file may be distributed and/or modified under the terms of the 
00010  * GNU General Public License version 2 as published by the Free Software 
00011  * Foundation. (See COPYING.GPL for details.)
00012  * 
00013  * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
00014  * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
00015  * 
00016  */
00017 
00018 #include "serror.h"
00019 
00020 
00021 void SError::AppendMsg(const TLString &str)
00022 {
00023     if(errmsg)
00024     {  errmsg+="; "+str;  }
00025     else
00026     {  errmsg=str;  }
00027 }
00028 
00029 void SError::AppendMsg(const char *str)
00030 {
00031     if(errmsg)
00032     {  errmsg+=TLString("; ",str);  }
00033     else
00034     {  errmsg=str;  }
00035 }

Generated on Sat Feb 19 22:33:46 2005 for Ray by doxygen 1.3.5