Scheduler: Replaced const-char exceptions with std::exception-compliant mechanism.