Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

skRuntimeException.h

00001 /*
00002   Copyright 1996-2001
00003   Simon Whiteside
00004 
00005   $Id: skRuntimeException_h-source.html,v 1.8 2001/05/14 07:43:34 sdw Exp $
00006 */
00007 #ifndef SKRUNTIMEEXCEPTION_H
00008 #define SKRUNTIMEEXCEPTION_H
00009 
00010 #include "skString.h"
00011 
00015 class skRuntimeException {
00016  public:
00020   skRuntimeException(const skString& location,const skString& msg) 
00021       : m_Location(location),m_Msg(msg){
00022   }
00026   skString toString() const {
00027     return m_Location+":"+m_Msg;
00028   }
00029  private:
00030   skString m_Msg;
00031   skString m_Location;
00032 };
00033 #endif

Generated at Mon May 14 08:43:08 2001 for Simkin by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000