Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | List of all members
castor::ParserParameterTypeException< ExpectedT > Class Template Reference

Exception thrown when the user tries to retrieve a parameter of a wrong type. More...

#include <ParserParameterTypeException.hpp>

Inheritance diagram for castor::ParserParameterTypeException< ExpectedT >:
Inheritance graph
[legend]
Collaboration diagram for castor::ParserParameterTypeException< ExpectedT >:
Collaboration graph
[legend]

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
 

Detailed Description

template<ParameterType ExpectedT>
class castor::ParserParameterTypeException< ExpectedT >

Exception thrown when the user tries to retrieve a parameter of a wrong type.

Constructor & Destructor Documentation

◆ ParserParameterTypeException()

template<ParameterType ExpectedT>
castor::ParserParameterTypeException< ExpectedT >::ParserParameterTypeException ( ParameterType givenType,
char const * file,
char const * function,
uint32_t line )
inlineexplicit

Constructor.

Parameters
[in]givenTypeThe user given type.
[in]fileThe incriminated file name.
[in]functionThe incriminated function name.
[in]lineThe incriminated line name.

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