Autowiring  1.0.3
A C++ Inversion of Control Framework
autowiring_error.h
Go to the documentation of this file.
1 // Copyright (C) 2012-2015 Leap Motion, Inc. All rights reserved.
2 #pragma once
3 #include <exception>
4 #include <string>
5 
6 class autowiring_error:
7  public std::exception
8 {
9 public:
10  autowiring_error(const std::string& what);
11  virtual ~autowiring_error(void);
12 
13 private:
14  const std::string m_what;
15 
16 public:
17  const char* what(void) const throw() override {return m_what.c_str();}
18 };
19 
20 namespace autowiring {
21  void ThrowFailedTypeParseException(const std::string& str, const std::type_info& ti);
22 }
Definition: auto_arg.h:8