CAD Exchanger SDK
cadex::BaseError_UnsupportedVersion Class Reference

Indicates that a file of unsupported version was imported. More...

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

Public Member Functions

 BaseError_UnsupportedVersion (const Base_UTF16String &theFileVersion, const Base_UTF16String &theMinSupportedVersion, const Base_UTF16String &theMaxSupportedVersion)
 Constructor.
 
const Base_UTF16StringFileVersion () const
 Returns the format version of the imported file.
 
const Base_UTF16StringMinSupportedVersion () const
 Returns the minimum supported version of the format of imported file.
 
const Base_UTF16StringMaxSupportedVersion () const
 Returns the maximum supported version of the format of imported file.
 
- 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.
 

Additional Inherited Members

- Protected Member Functions inherited from cadex::Base_Exception
 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 inherited from cadex::Base_Exception
std::shared_ptr< internal::Base_ExceptionImpl > myImpl
 

Detailed Description

Indicates that a file of unsupported version was imported.

An exception class whose instances are thrown when an attempt to read the model of unsupported format version was made. Provides access to the parsed version of the imported file and the first and last versions of this format supported by CAD Exchanger.

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