Hide menu
No Matches

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

#include <cadex/Base_Exception.hxx>

Inheritance diagram for cadex::Base_Exception:
cadex::BaseError_EvaluationLimit 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 ()
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
MTKConverter/Program.cs, MTKConverter/main.cxx, conversion/cdxwebconverter/Program.cs, conversion/cdxwebconverter/main.cxx, conversion/export/Program.cs, conversion/export/main.cxx, conversion/transfer/Program.cs, conversion/transfer/main.cxx, conversion/transferparams/Program.cs, conversion/transferparams/main.cxx, and visualization/offscreen/main.cxx.