Texture Viewer
Public Member Functions | List of all members
TextureTool::RuntimeError Class Reference
Inheritance diagram for TextureTool::RuntimeError:
TextureTool::Exception

Public Member Functions

 RuntimeError (const QString &message)
 
 RuntimeError (QString &&message) Q_DECL_NOEXCEPT
 
 ~RuntimeError () Q_DECL_NOEXCEPT override
 
const QString & message () const Q_DECL_NOEXCEPT
 
const char * what () const Q_DECL_NOEXCEPT override
 
- Public Member Functions inherited from TextureTool::Exception
 Exception ()
 
 ~Exception () Q_DECL_NOEXCEPT override
 
const char * what () const Q_DECL_NOEXCEPT override
 

Detailed Description

Exception with localized string describing occured error.

Constructor & Destructor Documentation

◆ RuntimeError() [1/2]

TextureTool::RuntimeError::RuntimeError ( const QString &  message)
explicit

Constructs RuntimeError with the message message.

◆ RuntimeError() [2/2]

TextureTool::RuntimeError::RuntimeError ( QString &&  message)
explicit

Move-constructs RuntimeError with the message message.

◆ ~RuntimeError()

TextureTool::RuntimeError::~RuntimeError ( )
overridedefault

Destroys the object.

Member Function Documentation

◆ message()

const QString & TextureTool::RuntimeError::message ( ) const

Returns the message describing the error.

◆ what()

const char * TextureTool::RuntimeError::what ( ) const
override

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.