| Inflection
    Morphology Inflection | 
Used to indicate a resource that is required by Inflection is missing. More...
#include <MissingResourceException.hpp>
 Inheritance diagram for inflection::exception::MissingResourceException:
 Inheritance diagram for inflection::exception::MissingResourceException:| Public Member Functions | |
| MissingResourceException (const std::u16string &message, const std::u16string &className, const std::u16string &key) | |
| ~MissingResourceException () override | |
| virtual const ::std::u16string & | getClassName () const noexcept | 
| virtual const ::std::u16string & | getKey () const noexcept | 
|  Public Member Functions inherited from inflection::exception::RuntimeException | |
| 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 | 
Used to indicate a resource that is required by Inflection is missing.
This is typically thrown by factories when constructing rules for inflection or tokenization. One such language that can throw this is Hebrew.
This exception type is meant to be used with inflection::resources::DataResource. And indicates the absence of a specific key in a resource file.
Definition at line 17 of file MissingResourceException.hpp.
| inflection::exception::MissingResourceException::MissingResourceException | ( | const std::u16string & | message, | 
| const std::u16string & | className, | ||
| const std::u16string & | key | ||
| ) | 
Constructor.
| message | The message to add to the exception. | 
| className | The class name of the object throwing this exception. | 
| key | The key being looked up by inflection::resources::DataResource::getString(). | 
| 
 | override | 
Destructor
| 
 | virtualnoexcept | 
Returns the class name of the object that threw this exception.
| 
 | virtualnoexcept | 
Returns the name of the key used during inflection::resources::DataResource::getString() lookup.