Hide menu
cadex::BaseError_UnsupportedFileVariant Class Reference

Indicates that a file's variant doesn't match the variants, that reader supports. More...

Inheritance diagram for cadex::BaseError_UnsupportedFileVariant:
cadex::Base_Exception

Public Member Functions

 BaseError_UnsupportedFileVariant (const Base_UTF16String &theSupportedVariants, const Base_UTF16String &theFileVariant)
 Constructor.
 
const Base_UTF16StringSupportedVariants () const
 
const Base_UTF16StringFileVariant () const
 
- 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's variant doesn't match the variants, that reader supports.

A given CAD format can have multiple flavors (text/binary, with/without compression, XML/proprietary serialization). This exception is thrown in the situation when a certain importer supports only some of these flavors, and a file using unsupported flavor was passed to it.

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