-#include <msp/core/except.h>
+#include <stdexcept>
#include "device.h"
using namespace std;
{
dev = alcOpenDevice(0);
if(!dev)
- throw Exception("Couldn't get OpenAL device");
+ throw runtime_error("Couldn't get OpenAL device");
}
Device::Device(const string &spec)
{
dev = alcOpenDevice(spec.c_str());
if(!dev)
- throw Exception("Couldn't get OpenAL device");
+ throw runtime_error("Couldn't get OpenAL device");
}
Device::~Device()