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

Used to indicate a pointer is null after a null pointer check. More...

#include <NullPointerException.hpp>

+ Inheritance diagram for inflection::exception::NullPointerException:

Public Member Functions

 NullPointerException ()
 
 NullPointerException (const std::u16string &message)
 
 ~NullPointerException () 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 a pointer is null after a null pointer check.

This exception can be thrown in many places in Inflection. Usually this exception is thrown when this library gets into a state where it's expecting a non-null pointer and it has a null pointer instead.

Definition at line 14 of file NullPointerException.hpp.

Constructor & Destructor Documentation

◆ NullPointerException() [1/2]

inflection::exception::NullPointerException::NullPointerException ( )

Default constructor

◆ NullPointerException() [2/2]

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

Construct an exception with an informative message for debugging purposes.

◆ ~NullPointerException()

inflection::exception::NullPointerException::~NullPointerException ( )
override

Destructor


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