System::Details_ExceptionWithErrorCode< T, typename > Class Template Reference

Inherits T.

Public Member Functions

virtual int32_t get_ErrorCode () const
 Gets the HRESULT of the error. More...
 
virtual String get_Message () const override
 

Detailed Description

template<typename T, typename = std::enable_if<std::is_base_of<Exception, T>::value>>
class System::Details_ExceptionWithErrorCode< T, typename >

The template class for an exception with an error code.

Template Parameters
TAn exception base class.

Member Function Documentation

◆ get_ErrorCode()

template<typename T, typename = std::enable_if<std::is_base_of<Exception, T>::value>>
virtual int32_t System::Details_ExceptionWithErrorCode< T, typename >::get_ErrorCode ( ) const
inlinevirtual

Gets the HRESULT of the error.

◆ get_Message()

template<typename T, typename = std::enable_if<std::is_base_of<Exception, T>::value>>
virtual String System::Details_ExceptionWithErrorCode< T, typename >::get_Message ( ) const
inlineoverridevirtual
See also
System::Exception::get_Message