git repos / blockattack-game

source/code/CppSdl/CppSdlException.cpp

browsing at commit = 3db6ed5d8a63b8e6ecd3da055da43e6abbd311e8

raw · blame · history

/* 
 * File:   CppSdlException.cpp
 * Author: poul
 * 
 * Created on 7. november 2010, 13:19
 */

#include "CppSdlException.hpp"

namespace CppSdl {

CppSdlException::CppSdlException() {
    message = "An CppSdlException";
}

CppSdlException::CppSdlException(std::string msg) {
    message = msg;
}

CppSdlException::CppSdlException(const CppSdlException& orig) {
}

//CppSdlException::~CppSdlException() {
//}

const char* CppSdlException::what() const throw() {
    return message.c_str();
}

}