6#ifndef MATERIALX_EXCEPTION_H
7#define MATERIALX_EXCEPTION_H
16MATERIALX_NAMESPACE_BEGIN
21class MX_CORE_API Exception :
public std::exception
24 explicit Exception(
const string& msg) :
29 Exception(
const Exception& e) :
34 Exception& operator=(
const Exception& e)
40 virtual ~Exception()
noexcept
44 const char* what()
const noexcept override
58 using Exception::Exception;
61MATERIALX_NAMESPACE_END
Import and export declarations for the Core library.
An exception that is thrown when a type mismatch is encountered.
Definition Exception.h:56