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

Used to indicate an illegal argument to a function. More...

#include <IllegalArgumentException.hpp>

Inheritance diagram for inflection::exception::IllegalArgumentException:

Public Member Functions

 IllegalArgumentException ()
 IllegalArgumentException (const std::u16string &message)
 ~IllegalArgumentException () 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 an illegal argument to a function.

This is thrown in many places. It typically denotes that an argument to a function is in an incorrect format. This can mean a wide variety of things, such as the wrong data structure being passed in, to having too many elements in an array.

Definition at line 15 of file IllegalArgumentException.hpp.

Constructor & Destructor Documentation

◆ IllegalArgumentException() [1/2]

inflection::exception::IllegalArgumentException::IllegalArgumentException ( )

Default constructor

◆ IllegalArgumentException() [2/2]

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

Construct an exception with an informative message for debugging purposes.

◆ ~IllegalArgumentException()

inflection::exception::IllegalArgumentException::~IllegalArgumentException ( )
override

Destructor


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