|
HermesCommon
2.0
|
Null parameter exception. Internal. Exception occurs when some parameter is Null or empty and it shouldn't be. More...
#include <exceptions.h>
Inheritance diagram for Hermes::Exceptions::NullException:Public Member Functions | |
| NullException (int param_idx) | |
| NullException (int param_idx, int item_idx) | |
| int | get_param_idx () const |
| int | get_item_idx () const |
| NullException (const NullException &e) | |
| virtual Exception * | clone () |
Public Member Functions inherited from Hermes::Exceptions::Exception | |
| Exception () | |
| Init exception with default message. | |
| Exception (const char *msg,...) | |
| void | print_msg () const |
| print error message to stderr | |
| virtual const char * | what () const throw () |
| get pointer to error message | |
| const char * | get_func_name () const |
Additional Inherited Members | |
Protected Attributes inherited from Hermes::Exceptions::Exception | |
| char * | message |
Null parameter exception. Internal. Exception occurs when some parameter is Null or empty and it shouldn't be.
Definition at line 68 of file exceptions.h.
| Hermes::Exceptions::NullException::NullException | ( | int | param_idx | ) |
Constructor
| [in] | paramnIdx | index of null parameter. |
Definition at line 69 of file exceptions.cpp.
| Hermes::Exceptions::NullException::NullException | ( | int | param_idx, |
| int | item_idx | ||
| ) |
Null item is passed in vector or array.
| [in] | paramnIdx | index of parameter. |
| [in] | elementIdx | index of null item in array parameter. |
Definition at line 78 of file exceptions.cpp.
| int Hermes::Exceptions::NullException::get_item_idx | ( | ) | const |
Definition at line 92 of file exceptions.cpp.
| int Hermes::Exceptions::NullException::get_param_idx | ( | ) | const |
Definition at line 87 of file exceptions.cpp.