Inflection
Morphology Inflection
Loading...
Searching...
No Matches
inflection::exception::RuntimeException Class Reference

Used to indicate a generic exception occurring at runtime. More...

#include <RuntimeException.hpp>

Inheritance diagram for inflection::exception::RuntimeException:

Public Member Functions

 RuntimeException ()
 RuntimeException (const std::u16string &message)
 ~RuntimeException () override
Public Member Functions inherited from inflection::exception::Exception
 Exception ()
 Exception (const std::u16string &message)
 ~Exception () override
Public Member Functions inherited from inflection::exception::Throwable
 Throwable ()
 Throwable (const std::u16string &message)
 ~Throwable () override
const char * what () const noexcept override
virtual const ::std::u16string & getMessage () const noexcept

Detailed Description

Used to indicate a generic exception occurring at runtime.

This class is meant to be subclassed by more specific exceptions, however it is possible that no other exception exists that classifies the problem, so a generic RuntimeException will be thrown instead.

Definition at line 14 of file RuntimeException.hpp.

Constructor & Destructor Documentation

◆ RuntimeException() [1/2]

inflection::exception::RuntimeException::RuntimeException ( )

Default constructor

◆ RuntimeException() [2/2]

inflection::exception::RuntimeException::RuntimeException ( const std::u16string & message)
explicit

Construct an exception with an informative message for debugging purposes.

◆ ~RuntimeException()

inflection::exception::RuntimeException::~RuntimeException ( )
override

Destructor


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