Exceptions¶
- exception PyOpenColorIO.Exception¶
An exception class to throw for errors detected at runtime.
Warning
All functions in the Config class can potentially throw this exception.
- exception PyOpenColorIO.ExceptionMissingFile¶
An exception class for errors detected at runtime.
Thrown when OCIO cannot find a file that is expected to exist. This is provided as a custom type to distinguish cases where one wants to continue looking for missing files, but wants to properly fail for other error conditions.
-
class Exception : public runtime_error¶
An exception class to throw for errors detected at runtime.
Warning
All functions in the Config class can potentially throw this exception.
Subclassed by ExceptionMissingFile
-
class ExceptionMissingFile : public Exception¶
An exception class for errors detected at runtime.
Thrown when OCIO cannot find a file that is expected to exist. This is provided as a custom type to distinguish cases where one wants to continue looking for missing files, but wants to properly fail for other error conditions.
Public Functions
-
ExceptionMissingFile() = delete¶
-
explicit ExceptionMissingFile(const char*)¶
Constructor that takes a string as the exception message.
-
ExceptionMissingFile(const ExceptionMissingFile&)¶
Constructor that takes an existing exception.
-
ExceptionMissingFile &operator=(const ExceptionMissingFile&) = delete¶
-
~ExceptionMissingFile()¶
-
ExceptionMissingFile() = delete¶