2021-04-04 21:04:12 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "Exception.hpp"
|
2021-06-22 23:52:31 +01:00
|
|
|
|
2021-04-04 21:04:12 +01:00
|
|
|
namespace Bloom::Exceptions
|
|
|
|
|
{
|
|
|
|
|
class TargetControllerStartupFailure: public Exception
|
|
|
|
|
{
|
|
|
|
|
public:
|
2021-04-06 02:10:14 +01:00
|
|
|
explicit TargetControllerStartupFailure(const std::string& message): Exception(message) {
|
2021-04-04 21:04:12 +01:00
|
|
|
this->message = message;
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-06 02:10:14 +01:00
|
|
|
explicit TargetControllerStartupFailure(const char* message): Exception(message) {
|
2021-04-04 21:04:12 +01:00
|
|
|
this->message = std::string(message);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
}
|