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

Inherits T.

Public Member Functions

virtual String get_FileName () const
 Gets the name of the file that causes this exception. More...
 
virtual String get_Message () const override
 
virtual String ToString () const override
 

Detailed Description

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

The template class for an exception with a file name.

Template Parameters
TAn exception base class.

Member Function Documentation

◆ get_FileName()

template<typename T, typename = std::enable_if<std::is_base_of<Exception, T>::value>>
virtual String System::Details_ExceptionWithFilename< T, typename >::get_FileName ( ) const
inlinevirtual

Gets the name of the file that causes this exception.

◆ get_Message()

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

◆ ToString()

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