Castor3D 0.16.0
Multiplatform 3D engine
|
Exception thrown when the user tries to retrieve a parameter of a wrong type. More...
#include <ParserParameterTypeException.hpp>
Public Member Functions | |
ParserParameterTypeException (ParameterType givenType, char const *file, char const *function, uint32_t line) | |
Constructor. | |
Public Member Functions inherited from castor::Exception | |
Exception (MbString const &description, char const *file, char const *function, uint32_t line) | |
Specified constructor. | |
Exception (WString const &description, char const *file, char const *function, uint32_t line) | |
Specified constructor. | |
char const * | what () const noexcept override |
Retrieves the exception description. | |
MbString const & | getFileName () const noexcept |
Retrieves the file name. | |
MbString const & | getFunction () const noexcept |
Retrieves the function name. | |
uint32_t | getLine () const noexcept |
Retrieves the line number. | |
MbString const & | getDescription () const noexcept |
Retrieves the exception description. | |
MbString | getFullDescription () const noexcept |
Retrieves the full exception text (description, line, file and function. | |
Additional Inherited Members | |
Protected Attributes inherited from castor::Exception | |
uint32_t | m_line |
MbString | m_description |
MbString | m_filename |
MbString | m_functionName |
MbString | m_callStack |
Exception thrown when the user tries to retrieve a parameter of a wrong type.
|
inlineexplicit |
Constructor.
[in] | givenType | The user given type. |
[in] | file | The incriminated file name. |
[in] | function | The incriminated function name. |
[in] | line | The incriminated line name. |