CAD Exchanger SDK
cadex::Base_Exception Class Reference

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

Inheritance diagram for cadex::Base_Exception:
cadex::BaseError_UnexpectedFormat cadex::BaseError_UnsupportedVersion

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.
 

Protected Member Functions

 Base_Exception (std::shared_ptr< internal::Base_ExceptionImpl > theImpl)
 Reserved for internal use.
 
template<typename T >
T * Impl () const
 Reserved for internal use.
 

Protected Attributes

std::shared_ptr< internal::Base_ExceptionImpl > 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