MIP SDK — C++ 1.18
API Reference Documentation for C++
Loading...
Searching...
No Matches
LicenseNotRegisteredError Class Reference

License is not registered. More...

#include <mip/error.h>

Inheritance diagram for LicenseNotRegisteredError:
BadInputError Error

Public Member Functions

 LicenseNotRegisteredError (const std::string &message, const std::string &name="LicenseNotRegisteredError")
 
 LicenseNotRegisteredError (const std::string &message, const std::map< std::string, std::string > &debugInfo, const std::map< std::string, std::string > sensitiveDebugInfo, const std::string &name="LicenseNotRegisteredError")
 
std::shared_ptr< ErrorClone () const override
 Clone the error.
 
ErrorType GetErrorType () const override
 Get the error type.
 
- Public Member Functions inherited from BadInputError
 BadInputError (const std::string &message, const std::string &name=GetBadInputErrorString(), ErrorCode errorCode=ErrorCode::General)
 
 BadInputError (const std::string &message, ErrorCode errorCode, const std::string &name=GetBadInputErrorString())
 
 BadInputError (const std::string &message, const std::map< std::string, std::string > &debugInfo, const std::map< std::string, std::string > sensitiveDebugInfo, const std::string &name=GetBadInputErrorString(), ErrorCode errorCode=ErrorCode::General)
 
ErrorCode GetErrorCode () const
 Gets the errorCode of bad input.
 
- Public Member Functions inherited from Error
char const * what () const noexcept override
 Get the error message.
 
const std::string & GetErrorName () const
 Get the error name.
 
const std::string & GetMessage (bool maskPII=false) const
 Get the error message.
 
void SetMessage (const std::string &msg)
 Set the error message.
 
void AddDebugInfo (const std::string &key, const std::string &value, bool sensitive=false)
 Add debug info entry.
 
const std::map< std::string, std::string > & GetDebugInfo () const
 Get debug info.
 
virtual ~Error ()
 

Additional Inherited Members

- Public Types inherited from BadInputError
enum class  ErrorCode {
  General = 0 , FileIsTooLargeForProtection = 1 , ParameterParsing = 2 , LicenseNotTrusted = 3 ,
  DoubleKey = 4 , FileFormatNotSupported = 5
}
 ErrorCode of bad input error. More...
 
- Protected Member Functions inherited from Error
 Error (const std::string &message, const std::string &name, ErrorType type)
 
 Error (const std::string &message, const std::map< std::string, std::string > debugInfo, const std::map< std::string, std::string > sensitiveDebugInfo, const std::string &name, ErrorType type)
 
- Protected Attributes inherited from Error
std::string mMessage
 
std::map< std::string, std::string > mDebugInfo
 
std::string mName
 
ErrorType mType
 

Detailed Description

License is not registered.

Constructor & Destructor Documentation

◆ LicenseNotRegisteredError() [1/2]

LicenseNotRegisteredError::LicenseNotRegisteredError ( const std::string & message,
const std::string & name = "LicenseNotRegisteredError" )
inlineexplicit

◆ LicenseNotRegisteredError() [2/2]

LicenseNotRegisteredError::LicenseNotRegisteredError ( const std::string & message,
const std::map< std::string, std::string > & debugInfo,
const std::map< std::string, std::string > sensitiveDebugInfo,
const std::string & name = "LicenseNotRegisteredError" )
inlineexplicit

Member Function Documentation

◆ Clone()

std::shared_ptr< Error > LicenseNotRegisteredError::Clone ( ) const
inlineoverridevirtual

Clone the error.

Returns
a clone of the error.

Reimplemented from BadInputError.

◆ GetErrorType()

ErrorType LicenseNotRegisteredError::GetErrorType ( ) const
inlineoverridevirtual

Get the error type.

Returns
the error type.

Reimplemented from Error.


The documentation for this class was generated from the following file: