Main Page   Class Hierarchy   Compound List   File List   Compound Members  

skRuntimeException.h

00001 /*
00002   Copyright 1996-2000
00003   Simon Whiteside
00004 
00005   $Id: skRuntimeException.h-source.html,v 1.1 2001/03/05 16:22:45 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 Mar 5 16:00:30 2001 for Simkin by doxygen1.2.0 written by Dimitri van Heesch, © 1997-2000