#include <msp/io/console.h>
+#include "except.h"
#include "process.h"
#include "process_private.h"
unsigned Process::get_exit_code() const
{
if(!finished)
- throw logic_error("not finished");
+ throw invalid_state("not finished");
return exit_code;
}