Defines an exception thrown by a license manager when a valid license could not be acquired. More...
#include <cadex/LicenseManager_LicenseError.hxx>
Inherits std::exception.
Public Member Functions | |
LicenseManager_LicenseError () | |
LicenseManager_LicenseError (const std::string &theDetails) | |
const char * | what () const override throw () |
Returns an error string. | |
Protected Attributes | |
std::string | myDetails |
Defines an exception thrown by a license manager when a valid license could not be acquired.
CAD Exchanger License Manager throws this exception when it cannot acquire a valid license protecting some CAD Exchanger classes. It can be used to distinguish an exception thrown by CAD Exchanger from any other.
Example:
|
inline |
Empty constructor.
|
inline |
Specifies detailed message which will be returned by what().
|
override |
Returns an error string.
Returns a detailed message specified in constructor.