Hide menu
Loading...
Searching...
No Matches
cadex::BaseError_UnsupportedVersion Class Reference

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

#include <cadex/BaseError_UnsupportedVersion.hxx>

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.
 
 BaseError_UnsupportedVersion (const Base_UTF16String &theFileVersion, const Base_UTF16String &theSupportedVersion)
 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.
 
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 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.
Examples
MTKConverter/Program.cs, and MTKConverter/main.cxx.