Kinetis Bootloader Host  2.0.0
Host Tools for Kinetis devices
ElftosbErrors.h
1 /*
2  * File: ConversionController.h
3  *
4  * Copyright (c) Freescale Semiconductor, Inc. All rights reserved.
5  * See included license file for license details.
6  */
7 #if !defined(_ElftosbErrors_h_)
8 #define _ElftosbErrors_h_
9 
10 #include <string>
11 #include <stdexcept>
12 
13 namespace elftosb
14 {
18 class semantic_error : public std::runtime_error
19 {
20 public:
21  explicit semantic_error(const std::string &msg)
22  : std::runtime_error(msg)
23  {
24  }
25 };
26 
27 }; // namespace elftosb
28 
29 #endif // _ElftosbErrors_h_
Definition: BootImage.h:13
A semantic error discovered while processing the command file AST.
Definition: ElftosbErrors.h:18