libcrn  3.9.5
A document image processing library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
crn::ExceptionInvalidArgument Class Reference

Invalid argument error (e.g.: nullptr pointer) More...

#include <CRNException.h>

+ Inheritance diagram for crn::ExceptionInvalidArgument:
+ Collaboration diagram for crn::ExceptionInvalidArgument:

Public Member Functions

 ExceptionInvalidArgument () noexcept
 Default constructor. More...
 
 ExceptionInvalidArgument (const crn::StringUTF8 &msg) noexcept
 Constructor with a message. More...
 
 ExceptionInvalidArgument (const char *msg) noexcept
 Constructor with a message. More...
 
- Public Member Functions inherited from crn::ExceptionLogic
 ExceptionLogic () noexcept
 Default constructor. More...
 
 ExceptionLogic (const crn::StringUTF8 &msg) noexcept
 Constructor with a message. More...
 
 ExceptionLogic (const char *msg) noexcept
 Constructor with a message. More...
 
- Public Member Functions inherited from crn::Exception
 Exception () noexcept
 Default constructor. More...
 
 Exception (const StringUTF8 &msg) noexcept
 Constructor with a message. More...
 
 Exception (const char *msg) noexcept
 Constructor with a message. More...
 
 Exception (const Exception &ex) noexcept
 Copy constructor. More...
 
virtual ~Exception () noexceptoverride
 Destructor. More...
 
const std::string & GetContext () const noexcept
 String containing the call stack at the moment of throw. More...
 
const std::string & GetMessage () const noexcept
 String containing a description of the exception. More...
 
virtual const char * what () const noexceptoverride
 String containing a description of the exception. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from crn::Exception
static void SetDefaultHandler ()
 Sets the default exception handler to print message and context to the standard error. More...
 
static bool & TraceStack ()
 Shall the stack be traced at each exception thrown? (very slow) More...
 

Detailed Description

Invalid argument error (e.g.: nullptr pointer)

Definition at line 107 of file CRNException.h.

Constructor & Destructor Documentation

ExceptionInvalidArgument::ExceptionInvalidArgument ( )
explicitnoexcept

Default constructor.

Default constructor

Definition at line 246 of file CRNException.cpp.

ExceptionInvalidArgument::ExceptionInvalidArgument ( const crn::StringUTF8 msg)
explicitnoexcept

Constructor with a message.

Constructor with a message

Definition at line 248 of file CRNException.cpp.

ExceptionInvalidArgument::ExceptionInvalidArgument ( const char *  msg)
explicitnoexcept

Constructor with a message.

Constructor with a message

Definition at line 250 of file CRNException.cpp.


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