Files
bootloader/apps/elftosb/elftosb2/ElftosbErrors.h
László Monda e6c1fce5b4 Add KBOOT.
2016-08-10 01:45:15 +02:00

30 lines
607 B
C++

/*
* File: ConversionController.h
*
* Copyright (c) Freescale Semiconductor, Inc. All rights reserved.
* See included license file for license details.
*/
#if !defined(_ElftosbErrors_h_)
#define _ElftosbErrors_h_
#include <string>
#include <stdexcept>
namespace elftosb
{
/*!
* \brief A semantic error discovered while processing the command file AST.
*/
class semantic_error : public std::runtime_error
{
public:
explicit semantic_error(const std::string &msg)
: std::runtime_error(msg)
{
}
};
}; // namespace elftosb
#endif // _ElftosbErrors_h_