Renamed part description files to target description files.
Introduced a generic target description file class with an AVR8 derivation. Moved AVR8 target description files
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
|
||||
#include "src/Exceptions/Exception.hpp"
|
||||
|
||||
namespace Bloom::Exceptions
|
||||
{
|
||||
class TargetDescriptionParsingFailureException: public Exception
|
||||
{
|
||||
public:
|
||||
explicit TargetDescriptionParsingFailureException(const std::string& message)
|
||||
: Exception(message) {
|
||||
this->message = "Failed to parse target description file - " + message;
|
||||
}
|
||||
|
||||
explicit TargetDescriptionParsingFailureException(const char* message)
|
||||
: Exception(message) {
|
||||
this->message = "Failed to parse target description file - " + std::string(message);
|
||||
}
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user