Updated SatelliteException
parent
85c75b235d
commit
4f249346b1
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue