#include <algorithm>
#include <cstdlib>
-#include <msp/core/except.h>
+#include <stdexcept>
#include "jukebox.h"
#include "sound.h"
const string &Jukebox::get_current_track() const
{
if(tracks.empty())
- throw InvalidState("No current track");
+ throw logic_error("No current track");
return *current_track;
}