OpenLexocad  27.1
Base::BadArguments Class Reference

#include <Exception.h>

Inheritance diagram for Base::BadArguments:
Base::Exception

Public Member Functions

 BadArguments (const char *sMessage)
 Construction. More...
 
 BadArguments ()
 Construction. More...
 
 BadArguments (const BadArguments &inst)
 Construction. More...
 
virtual ~BadArguments () throw ()
 Destruction. More...
 
virtual const char * what () const throw ()
 Description of the exception. More...
 
- Public Member Functions inherited from Base::Exception
 Exception (const char *sMessage, const char *detail)
 
 Exception (void)
 
 Exception (const Exception &inst)
 
virtual ~Exception () throw ()
 
Exceptionoperator= (const Exception &inst)
 
virtual const char * detail (void) const throw ()
 
void ReportException (void) const
 
void SetMessage (const char *sMessage)
 
std::string getFile () const
 
int getLine () const
 
std::string getFunction () const
 
bool getTranslatable () const
 
bool getReported () const
 
void setDebugInformation (const std::string &file, const int line, const std::string &function)
 
void setTranslatable (bool translatable)
 
void setReported (bool reported)
 

Additional Inherited Members

- Protected Attributes inherited from Base::Exception
std::string _sErrMsg
 
std::string _sErrDetail
 
std::string _file { "" }
 
int _line { -1 }
 
std::string _function { "" }
 
bool _isTranslatable { false }
 
bool _isReported { false }
 

Detailed Description

The BadArguments is thrown if bad arguments are passed to a function

Constructor & Destructor Documentation

◆ BadArguments() [1/3]

Base::BadArguments::BadArguments ( const char *  sMessage)

Construction.

◆ BadArguments() [2/3]

Base::BadArguments::BadArguments ( )

Construction.

◆ BadArguments() [3/3]

Base::BadArguments::BadArguments ( const BadArguments inst)

Construction.

◆ ~BadArguments()

virtual Base::BadArguments::~BadArguments ( )
throw (
)
inlinevirtual

Destruction.

Member Function Documentation

◆ what()

virtual const char* Base::BadArguments::what ( ) const
throw (
)
virtual

Description of the exception.

Reimplemented from Base::Exception.


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