Hide menu
cadex::BaseError_MissingModule Class Reference

Indicates that no suitable library was found at runtime. More...

Inheritance diagram for cadex::BaseError_MissingModule:
cadex::Base_Exception

Public Member Functions

 BaseError_MissingModule (const Base_UTF16String &theMessage)
 Constructor.
 
- Public Member Functions inherited from cadex::Base_Exception
 Base_Exception (const Base_UTF16String &theWhat)
 Constructs an exception object from the error message.
 
 ~Base_Exception ()
 Destructor.
 
const Base_UTF16StringWhat () const
 Returns a message associated to the exception.
 
template<typename T >
T * Impl () const
 Reserved for internal use.
 
const ImplPtrType & SharedImpl () const
 Reserved for internal use.
 

Additional Inherited Members

- Public Types inherited from cadex::Base_Exception
typedef std::shared_ptr< internal::Base_ExceptionImpl > ImplPtrType
 
- Protected Member Functions inherited from cadex::Base_Exception
 Base_Exception (ImplPtrType theImplPtr)
 Reserved for internal use.
 
- Protected Attributes inherited from cadex::Base_Exception
ImplPtrType myImpl
 

Detailed Description

Indicates that no suitable library was found at runtime.

An exception class whose instances are thrown when a procedure of searching for a module (library) capable of perfoming a certain operation at runtime yields no result.

A primary case where this might happen is when using ModelData_ModelReader and ModelData_ModelWriter classes. When they are used, this exception might be thrown either if the required format is not supported by CAD Exchanger at all (then no module could be found in principle) or if there was an issue with loading the module (it or its transitive dependency is missing).

Note
This exception is only thrown if a feature-flag Base_Settings::UseExceptions is enabled. For more information refer to Error handling.