1#ifndef _VRAY_THROW_HPP_
2#define _VRAY_THROW_HPP_
6#include "_vraysdk_utils.hpp"
14 explicit VRayException() : msg(
"Unknown V-Ray exception.") { }
16 const char* what()
const {
20 std::string toString()
const {
33 LicenseError::VRLAuthError appSDKError;
34 LicenseError::RenderNodeErr renderNodeError;
35 explicit InstantiationErr(
const std::string& msg, LicenseError::VRLAuthError appSDK = LicenseError::vrlauth_noError, LicenseError::RenderNodeErr renderNode = 0) :
VRayException(msg), appSDKError(appSDK), renderNodeError(renderNode) { }
Definition: vraythrow.hpp:9
Definition: vraythrow.hpp:39
This is thrown when loading the VRaySDKLibrary dynamic library fails.
Definition: vraythrow.hpp:26
This is thrown when a renderer instance can't be created. This is usually due to a license issue.
Definition: vraythrow.hpp:32
Definition: vraythrow.hpp:62
This is thrown when a plugin passed to the render element API is not really a render element plugin.
Definition: vraythrow.hpp:51
This is thrown when an invalid type conversion/interpretation is attempted.
Definition: vraythrow.hpp:57
This is thrown when unsupported function is called, e.g. DR1 function in DR2 build.
Definition: vraythrow.hpp:86
This is thrown when a plugin class is not available. The DLL may be missing or not on the path.
Definition: vraythrow.hpp:45
This is thrown when an error occurs while proccesing VFB history manipulations.
Definition: vraythrow.hpp:80
This is thrown when an error occurs while proccesing VFB per-layer manipulations.
Definition: vraythrow.hpp:68
This is thrown when an error occurs while proccesing VFB layer manager (top-level) manipulations.
Definition: vraythrow.hpp:74