NRE::Exception::IException Class Reference

An interface for exception. More...

#include <NRE_IException.hpp>

Inheritance diagram for NRE::Exception::IException:
NRE::Utility::Stringable< IException > NRE::Utility::StaticInterface< T, M >

Public Member Functions

 IException ()=delete
 
 IException (Utility::String const &log) throw ()
 
 IException (IException const &e)=default throw ()
 
 IException (IException &&e)=default throw ()
 
virtual ~IException ()=default throw ()
 
IExceptionoperator= (IException const &e)=default
 
IExceptionoperator= (IException &&e)=default
 
Utility::String toString () const
 
- Public Member Functions inherited from NRE::Utility::Stringable< IException >
String toString () const
 
- Public Member Functions inherited from NRE::Utility::StaticInterface< T, M >
T & impl ()
 
T const & impl () const
 

Detailed Description

An interface for exception.

IException

Constructor & Destructor Documentation

NRE::Exception::IException::IException ( )
delete

No Default Constructor

NRE::Exception::IException::IException ( Utility::String const &  log)
throw (
)
inline

Construct an IException with a custom log

Parameters
logthe IException's log
NRE::Exception::IException::IException ( IException const &  e)
throw (
)
default

Copy e into this

Parameters
ethe IException to copy the content
NRE::Exception::IException::IException ( IException &&  e)
throw (
)
default

Move e into this, leaving e empty

Parameters
ethe IException to move
virtual NRE::Exception::IException::~IException ( )
throw (
)
virtualdefault

IException Deconstructor

Member Function Documentation

IException& NRE::Exception::IException::operator= ( IException const &  e)
default

Copy assignment of e into this

Parameters
ethe IException to copy into this
Returns
the reference of himself
IException& NRE::Exception::IException::operator= ( IException &&  e)
default

Move assignment of e into this, leaving e empty

Parameters
ethe IException to move into this
Returns
the reference of himself
Utility::String NRE::Exception::IException::toString ( ) const
inline

Convert an IException into a string

Returns
the converted IException

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