MEASUR-Tools-Suite v1.0.11
The MEASUR Tools Suite is a collection of industrial efficiency calculations written in C++ and with bindings for compilation to WebAssembly.
Loading...
Searching...
No Matches
UnableToBalanceException.h
1#ifndef TOOLS_SUITE_UNABLETOBALANCEEXCEPTION_H
2#define TOOLS_SUITE_UNABLETOBALANCEEXCEPTION_H
3
4#include <exception>
5#include <iostream>
6#include <string>
7
8class UnableToBalanceException : public std::exception {
9 public:
10 explicit UnableToBalanceException(const std::string& message);
11
12 friend std::ostream& operator<<(std::ostream& stream, const UnableToBalanceException& e);
13
14 const std::string& getMessage() const;
15
16 private:
17 std::string message;
18};
19
20#endif // TOOLS_SUITE_UNABLETOBALANCEEXCEPTION_H