HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_Errors.h File Reference
#include "HOM_API.h"
#include "HOM_Defines.h"
#include <string>
+ Include dependency graph for HOM_Errors.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  HOM_SystemExit
 
class  HOM_Error
 

Macros

#define SIMPLE_EXCEPTION(exception_name, description_value)
 
#define INTERNAL_EXCEPTION(exception_name, description_value)
 
#define DERIVED_EXCEPTION(exception_name, base_exception, description_value)
 
#define SIMPLE_EXCEPTION_DFLT_INSTANCE(exception_name, description_value, default_instance_value)
 

Functions

 SIMPLE_EXCEPTION (NotAvailable,"Not available in this context") SIMPLE_EXCEPTION(ObjectWasDeleted
 
Attempt to access an object
that no longer exists in
Houdini 
SIMPLE_EXCEPTION (InvalidInput,"Invalid input") SIMPLE_EXCEPTION(InvalidOutput
 
Attempt to access an object
that no longer exists in
Houdini Invalid output 
SIMPLE_EXCEPTION (InvalidSize,"Invalid size") INTERNAL_EXCEPTION(TypeError
 
Attempt to access an object
that no longer exists in
Houdini Invalid output Invalid
type 
INTERNAL_EXCEPTION (ValueError,"Invalid value") SIMPLE_EXCEPTION(OperationFailed
 
Attempt to access an object
that no longer exists in
Houdini Invalid output Invalid
type The attempted operation
failed 
SIMPLE_EXCEPTION (InvalidNodeType,"The node type is invalid") SIMPLE_EXCEPTION(InitScriptFailed
 
Attempt to access an object
that no longer exists in
Houdini Invalid output Invalid
type The attempted operation
failed Node initialization
script failed 
SIMPLE_EXCEPTION (MatchDefinitionError,"Failed to match node type definition") SIMPLE_EXCEPTION_DFLT_INSTANCE(PermissionError
 
Attempt to access an object
that no longer exists in
Houdini Invalid output Invalid
type The attempted operation
failed Node initialization
script failed Failed to modify
node or parameter because of a
permission error Possible
causes include locked product
permissions or user specified
permissions 
SIMPLE_EXCEPTION (GeometryPermissionError,"Geometry is read-only") SIMPLE_EXCEPTION(KeyframeValueNotSet
 
Attempt to access an object
that no longer exists in
Houdini Invalid output Invalid
type The attempted operation
failed Node initialization
script failed Failed to modify
node or parameter because of a
permission error Possible
causes include locked product
permissions or user specified
permissions This keyframe
value is not set 
SIMPLE_EXCEPTION (OperationInterrupted,"The requested operation was interrupted") SIMPLE_EXCEPTION(LoadWarning
 
Attempt to access an object
that no longer exists in
Houdini Invalid output Invalid
type The attempted operation
failed Node initialization
script failed Failed to modify
node or parameter because of a
permission error Possible
causes include locked product
permissions or user specified
permissions This keyframe
value is not set Warnings were
generated during load 
SIMPLE_EXCEPTION (NodeError,"Error generated by Python node") SIMPLE_EXCEPTION(NodeWarning
 
Attempt to access an object
that no longer exists in
Houdini Invalid output Invalid
type The attempted operation
failed Node initialization
script failed Failed to modify
node or parameter because of a
permission error Possible
causes include locked product
permissions or user specified
permissions This keyframe
value is not set Warnings were
generated during load Warning
generated by Python node 
SIMPLE_EXCEPTION (NameConflict,"Name conflict was detected") SIMPLE_EXCEPTION(TypeConflict
 
Attempt to access an object
that no longer exists in
Houdini Invalid output Invalid
type The attempted operation
failed Node initialization
script failed Failed to modify
node or parameter because of a
permission error Possible
causes include locked product
permissions or user specified
permissions This keyframe
value is not set Warnings were
generated during load Warning
generated by Python node Type
conflict was detected 
SIMPLE_EXCEPTION (StateNotRegistered,"Attempt to unregister a non-registered state") SIMPLE_EXCEPTION(HandleNotRegistered
 

Variables

Attempt to access an object
that no longer exists in
Houdini Invalid output Invalid
type The attempted operation
failed Node initialization
script failed Failed to modify
node or parameter because of a
permission error Possible
causes include locked 
assets
 
Attempt to access an object
that no longer exists in
Houdini Invalid output Invalid
type The attempted operation
failed Node initialization
script failed Failed to modify
node or parameter because of a
permission error Possible
causes include locked 
takes
 

Macro Definition Documentation

#define DERIVED_EXCEPTION (   exception_name,
  base_exception,
  description_value 
)
Value:
SWIGOUT(%rename(exception_name) HOM_ ## exception_name;) \
class HOM_API HOM_ ## exception_name : public HOM_ ## base_exception \
{ \
public: \
HOM_ ## exception_name(const char* instance_message = "") \
: HOM_ ## base_exception(instance_message) \
{} \
HOM_Error* clone() override { return new HOM_ ## exception_name(*this); } \
std::string exceptionTypeName() override { return #exception_name; } \
std::string description() override { return description_value; } \
SWIGOUT(std::string __str__();) \
};
GLsizei const GLchar *const * string
Definition: glcorearb.h:814
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:349
#define HOM_API
Definition: HOM_API.h:13
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)

Definition at line 132 of file HOM_Errors.h.

#define INTERNAL_EXCEPTION (   exception_name,
  description_value 
)
Value:
SWIGOUT(%ignore HOM_ ## exception_name;) \
class HOM_API HOM_ ## exception_name : public HOM_Error \
{ \
public: \
HOM_ ## exception_name(const char* instance_message = "") \
: HOM_Error(instance_message) \
{} \
HOM_Error* clone() override { return new HOM_ ## exception_name(*this); } \
std::string exceptionTypeName() override { return #exception_name; } \
std::string description() override { return description_value; } \
};
GLsizei const GLchar *const * string
Definition: glcorearb.h:814
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
#define HOM_API
Definition: HOM_API.h:13
void ignore(T const &) VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:6508

Definition at line 112 of file HOM_Errors.h.

#define SIMPLE_EXCEPTION (   exception_name,
  description_value 
)
Value:
SWIGOUT(%rename(exception_name) HOM_ ## exception_name;) \
class HOM_API HOM_ ## exception_name : public HOM_Error \
{ \
public: \
HOM_ ## exception_name(const char* instance_message = "") \
: HOM_Error(instance_message) \
{} \
HOM_Error* clone() override { return new HOM_ ## exception_name(*this); } \
std::string exceptionTypeName() override { return #exception_name; } \
std::string description() override { return description_value; } \
SWIGOUT(std::string __str__();) \
};
GLsizei const GLchar *const * string
Definition: glcorearb.h:814
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:349
#define HOM_API
Definition: HOM_API.h:13
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)

Definition at line 97 of file HOM_Errors.h.

#define SIMPLE_EXCEPTION_DFLT_INSTANCE (   exception_name,
  description_value,
  default_instance_value 
)
Value:
SWIGOUT(%rename(exception_name) HOM_ ## exception_name;) \
class HOM_API HOM_ ## exception_name : public HOM_Error \
{ \
public: \
HOM_ ## exception_name(const char* instance_message = "") \
: HOM_Error(instance_message) \
{} \
HOM_Error* clone() override { return new HOM_ ## exception_name(*this); } \
std::string exceptionTypeName() override { return #exception_name; } \
std::string description() override { return description_value; } \
std::string instanceMessage() override \
{ \
if (!instance_msg.size()) instance_msg = default_instance_value; \
return instance_msg; \
} \
SWIGOUT(std::string __str__();) \
};
GLsizei const GLchar *const * string
Definition: glcorearb.h:814
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:349
#define HOM_API
Definition: HOM_API.h:13
virtual std::string instanceMessage()
Definition: HOM_Errors.h:62
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
if(num_boxed_items<=0)
Definition: UT_RTreeImpl.h:697

Definition at line 147 of file HOM_Errors.h.

Function Documentation

Attempt to access an object that no longer exists in Houdini Invalid output Invalid type INTERNAL_EXCEPTION ( ValueError  ,
"Invalid value  
)
SIMPLE_EXCEPTION ( NotAvailable  ,
"Not available in this context"   
)
Attempt to access an object that no longer exists in Houdini SIMPLE_EXCEPTION ( InvalidInput  ,
"Invalid input"   
)
Attempt to access an object that no longer exists in Houdini Invalid output SIMPLE_EXCEPTION ( InvalidSize  ,
"Invalid size  
)
Attempt to access an object that no longer exists in Houdini Invalid output Invalid type The attempted operation failed SIMPLE_EXCEPTION ( InvalidNodeType  ,
"The node type is invalid"   
)
Attempt to access an object that no longer exists in Houdini Invalid output Invalid type The attempted operation failed Node initialization script failed SIMPLE_EXCEPTION ( MatchDefinitionError  ,
"Failed to match node type definition"   
)
Attempt to access an object that no longer exists in Houdini Invalid output Invalid type The attempted operation failed Node initialization script failed Failed to modify node or parameter because of a permission error Possible causes include locked product permissions or user specified permissions SIMPLE_EXCEPTION ( GeometryPermissionError  ,
"Geometry is read-only"   
)
Attempt to access an object that no longer exists in Houdini Invalid output Invalid type The attempted operation failed Node initialization script failed Failed to modify node or parameter because of a permission error Possible causes include locked product permissions or user specified permissions This keyframe value is not set SIMPLE_EXCEPTION ( OperationInterrupted  ,
"The requested operation was interrupted"   
)
Attempt to access an object that no longer exists in Houdini Invalid output Invalid type The attempted operation failed Node initialization script failed Failed to modify node or parameter because of a permission error Possible causes include locked product permissions or user specified permissions This keyframe value is not set Warnings were generated during load SIMPLE_EXCEPTION ( NodeError  ,
"Error generated by Python node"   
)
Attempt to access an object that no longer exists in Houdini Invalid output Invalid type The attempted operation failed Node initialization script failed Failed to modify node or parameter because of a permission error Possible causes include locked product permissions or user specified permissions This keyframe value is not set Warnings were generated during load Warning generated by Python node SIMPLE_EXCEPTION ( NameConflict  ,
"Name conflict was detected"   
)
Attempt to access an object that no longer exists in Houdini Invalid output Invalid type The attempted operation failed Node initialization script failed Failed to modify node or parameter because of a permission error Possible causes include locked product permissions or user specified permissions This keyframe value is not set Warnings were generated during load Warning generated by Python node Type conflict was detected SIMPLE_EXCEPTION ( StateNotRegistered  ,
"Attempt to unregister a non-registered state"   
)

Variable Documentation

Attempt to access an object that no longer exists in Houdini Invalid output Invalid type The attempted operation failed Node initialization script failed Failed to modify node or parameter because of a permission error Possible causes include locked assets

Definition at line 191 of file HOM_Errors.h.

Attempt to access an object that no longer exists in Houdini Invalid output Invalid type The attempted operation failed Node initialization script failed Failed to modify node or parameter because of a permission error Possible causes include locked takes

Definition at line 191 of file HOM_Errors.h.