Hide menu

Abstract base class for exceptions thrown from CAD Exchanger. More...

Inheritance diagram for cadex::Base_Exception:
cadex::BaseError_MissingFile cadex::BaseError_MissingModel cadex::BaseError_MissingModule cadex::BaseError_UnexpectedFormat cadex::BaseError_UnexpectedProcessExit cadex::BaseError_UnsupportedFileVariant cadex::BaseError_UnsupportedVersion

Public Types

typedef std::shared_ptr< internal::Base_ExceptionImpl > ImplPtrType
 

Public Member Functions

 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.
 

Protected Member Functions

 Base_Exception (ImplPtrType theImplPtr)
 Reserved for internal use.
 

Protected Attributes

ImplPtrType myImpl
 

Detailed Description

Abstract base class for exceptions thrown from CAD Exchanger.

All of the exceptions thrown from the SDK functions inherit this base class (except for LicenseManager_LicenseError). Specify this class in the catch block in case you want to catch all of the exceptions thrown by CAD Exchanger.

See also
LicenseManager_LicenseError, Error handling
Examples
visualization/offscreen/main.cxx.