PumaException.cpp
Go to the documentation of this file.
00001 
00009 #include "PumaException.h"
00010 #include <iostream>
00011 
00012 using namespace std;
00013 using namespace puma2;
00014 
00015 PumaException::PumaException()
00016 {
00017 }
00018 
00019 PumaException::PumaException(exceptionSeverity sev, std::string &msg)
00020 {
00021   severity = sev;
00022   message = msg;
00023   cout << endl << this->description() << endl;
00024 }
00025 
00026 PumaException::~PumaException() throw () {};
00027 
00028 std::string  PumaException::description() const
00029 { 
00030   std::string txt = "PUMA Exception: " + message; 
00031   return txt;  
00032 }


obj_rec_gui
Author(s): AGAS/agas@uni-koblenz.de
autogenerated on Mon Oct 6 2014 02:53:43