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::ExceptionDimension Class Reference

A dimension error. More...

#include <CRNException.h>

+ Inheritance diagram for crn::ExceptionDimension:
+ Collaboration diagram for crn::ExceptionDimension:

Public Member Functions

 ExceptionDimension () noexcept
 Default constructor. More...
 
 ExceptionDimension (const crn::StringUTF8 &msg) noexcept
 Constructor with a message. More...
 
 ExceptionDimension (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

A dimension error.

Definition at line 119 of file CRNException.h.

Constructor & Destructor Documentation

ExceptionDimension::ExceptionDimension ( )
explicitnoexcept

Default constructor.

Default constructor

Definition at line 253 of file CRNException.cpp.

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

Constructor with a message.

Constructor with a message

Definition at line 255 of file CRNException.cpp.

ExceptionDimension::ExceptionDimension ( const char *  msg)
explicitnoexcept

Constructor with a message.

Constructor with a message

Definition at line 257 of file CRNException.cpp.


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