Updated SatelliteException

feature/19
Daniel Warner 2011-12-13 23:05:57 +00:00
parent 85c75b235d
commit 4f249346b1
1 changed files with 9 additions and 6 deletions

View File

@ -4,17 +4,20 @@
#include <exception>
#include <iostream>
class SatelliteException : public std::exception {
class SatelliteException : public std::exception
{
public:
SatelliteException(const char* message)
: message_(message) {
: message_(message)
{
}
virtual ~SatelliteException(void) throw () {
virtual ~SatelliteException(void) throw ()
{
}
virtual const char* what() const throw () {
virtual const char* what() const throw ()
{
return message_.c_str();
}