XJ music engine  1.9.6
In-game runtime engine for XJ music.
FabricationException.h
Go to the documentation of this file.
1 // Copyright (c) XJ Music Inc. (https://xjmusic.com) All Rights Reserved.
2 
3 #ifndef XJMUSIC_FABRICATION_EXCEPTION_H
4 #define XJMUSIC_FABRICATION_EXCEPTION_H
5 
6 #include <exception>
7 #include <string>
8 #include <utility>
9 
10 namespace XJ {
11 
16  class FabricationException : public std::exception {
17  public:
18  explicit FabricationException(std::string msg);
19 
20  [[nodiscard]] const char *what() const noexcept override;
21 
22  private:
23  std::string msg_;
24  };
25 
26 }// namespace XJ
27 
28 #endif//XJMUSIC_FABRICATION_EXCEPTION_H
Definition: FabricationException.h:16
FabricationException(std::string msg)
Definition: FabricationException.cpp:8
const char * what() const noexcept override
Definition: FabricationException.cpp:11
Definition: ActiveAudio.h:11