28 lines
615 B
C++
28 lines
615 B
C++
|
/* Copyright 2017 The MathWorks, Inc. */
|
||
|
|
||
|
#ifndef CPPSHAREDLIB_EXCEPTION_HPP
|
||
|
#define CPPSHAREDLIB_EXCEPTION_HPP
|
||
|
|
||
|
#include <MatlabExecutionInterface/exception.hpp>
|
||
|
#include <MatlabExecutionInterface/detail/exception_impl.hpp>
|
||
|
|
||
|
namespace matlab {
|
||
|
|
||
|
namespace cpplib {
|
||
|
|
||
|
|
||
|
class CppSharedLibException final : public matlab::execution::Exception {
|
||
|
public:
|
||
|
CppSharedLibException();
|
||
|
|
||
|
/**
|
||
|
* Constructor that accepts an error message
|
||
|
*/
|
||
|
CppSharedLibException(const std::string& msg);
|
||
|
};
|
||
|
|
||
|
|
||
|
}
|
||
|
}
|
||
|
|
||
|
#endif /* CPPSHAREDLIB_EXCEPTION_HPP */
|