Inflection
Morphology Inflection
Loading...
Searching...
No Matches
Public Member Functions | List of all members
inflection::exception::IllegalStateException Class Reference

Used to indicate that a datastructure is in an unknown or bad state. More...

#include <IllegalStateException.hpp>

+ Inheritance diagram for inflection::exception::IllegalStateException:

Public Member Functions

 IllegalStateException ()
 
 IllegalStateException (const std::u16string &message)
 
 ~IllegalStateException () override
 
- 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
 

Detailed Description

Used to indicate that a datastructure is in an unknown or bad state.

This is typically thrown during tokenization or when constructing tries. It indicates that some piece of data is incorrect or is missing, and that continuing operation would cause the process to hang or crash (or at the least be unknown).

Definition at line 15 of file IllegalStateException.hpp.

Constructor & Destructor Documentation

◆ IllegalStateException() [1/2]

inflection::exception::IllegalStateException::IllegalStateException ( )

Default constructor

◆ IllegalStateException() [2/2]

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

Construct an exception with an informative message for debugging purposes.

◆ ~IllegalStateException()

inflection::exception::IllegalStateException::~IllegalStateException ( )
override

Destructor


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