00001 /* -*- mode: c++ -*- 00002 * 00003 * HippoPlot DataSourceException class implementation 00004 * 00005 * Copyright (C) 2003 The Board of Trustees of The Leland Stanford 00006 * Junior University. All Rights Reserved. 00007 * 00008 * $Id: DataSourceException.cxx,v 1.1 2003/03/02 22:19:47 pfkeb Exp $ 00009 * 00010 */ 00011 00012 #include "DataSourceException.h" 00013 00014 DataSourceException:: 00015 DataSourceException ( const DataSourceException & e ) 00016 { 00017 m_what = e.m_what; 00018 } 00019 00020 DataSourceException:: 00021 DataSourceException ( const std::string & what ) 00022 { 00023 m_what = what; 00024 } 00025 00026 DataSourceException:: 00027 ~DataSourceException ( ) throw () 00028 { 00029 } 00030 00031 char const * 00032 DataSourceException:: 00033 what () const throw () 00034 { 00035 return m_what.c_str(); 00036 }