OGRE-Next  4.0.0unstable
Object-Oriented Graphics Rendering Engine
Ogre::InvalidParametersException Class Reference

#include <OgreException.h>

+ Inheritance diagram for Ogre::InvalidParametersException:

Public Member Functions

 InvalidParametersException (int inNumber, const String &inDescription, const String &inSource, const char *inFile, long inLine)
 
virtual ~InvalidParametersException () noexcept
 
- Public Member Functions inherited from Ogre::Exception
 Exception (const Exception &rhs)
 Copy constructor. More...
 
 Exception (int number, const String &description, const String &source)
 Default constructor. More...
 
 Exception (int number, const String &description, const String &source, const char *type, const char *file, long line)
 Advanced constructor. More...
 
 ~Exception () noexcept override
 Needed for compatibility with std::exception. More...
 
virtual const StringgetDescription () const
 Returns a string with only the 'description' field of this exception. More...
 
virtual const StringgetFile () const
 Gets source file name. More...
 
virtual const StringgetFullDescription () const
 Returns a string with the full description of this error. More...
 
virtual long getLine () const
 Gets line number. More...
 
virtual int getNumber () const noexcept
 Gets the error code. More...
 
virtual const StringgetSource () const
 Gets the source function. More...
 
Exceptionoperator= (const Exception &rhs)
 Assignment operator. More...
 
const char * what () const noexcept(true) override
 Override std::exception::what. More...
 

Additional Inherited Members

- Public Types inherited from Ogre::Exception
enum  ExceptionCodes {
  ERR_CANNOT_WRITE_TO_FILE , ERR_INVALID_STATE , ERR_INVALIDPARAMS , ERR_RENDERINGAPI_ERROR ,
  ERR_DUPLICATE_ITEM , ERR_ITEM_NOT_FOUND , ERR_FILE_NOT_FOUND , ERR_INTERNAL_ERROR ,
  ERR_RT_ASSERTION_FAILED , ERR_NOT_IMPLEMENTED , ERR_INVALID_CALL
}
 Static definitions of error codes. More...
 

Constructor & Destructor Documentation

◆ InvalidParametersException()

Ogre::InvalidParametersException::InvalidParametersException ( int  inNumber,
const String inDescription,
const String inSource,
const char *  inFile,
long  inLine 
)

◆ ~InvalidParametersException()

virtual Ogre::InvalidParametersException::~InvalidParametersException ( )
virtualnoexcept

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