Exception helper class to collect information while parsing, adding DD Objects or other failed operatons.
More...
#include <ddl_error.h>
Inherits std::exception.
|
| | Error (const std::string &oo_type_operation, const std::string &message) |
| | CTOR.
|
| |
| | Error (const std::string &oo_type_operation, const std::vector< std::string > &oo_operation_args, const std::string &message) |
| | CTOR with arguments.
|
| |
| | Error (const std::string &oo_type_operation, const std::vector< std::string > &oo_operation_args, const std::string &message, const std::vector< Problem > &problems) |
| | CTOR with arguments.
|
| |
| const std::vector< Problem > & | problems () const |
| |
| char const * | what () const noexcept override |
| |
Exception helper class to collect information while parsing, adding DD Objects or other failed operatons.
◆ Error() [1/3]
| ddl::dd::Error::Error |
( |
const std::string & | oo_type_operation, |
|
|
const std::string & | message ) |
|
inline |
CTOR.
- Parameters
-
| oo_type_operation | name of the operation |
| message | the message to set |
◆ Error() [2/3]
| ddl::dd::Error::Error |
( |
const std::string & | oo_type_operation, |
|
|
const std::vector< std::string > & | oo_operation_args, |
|
|
const std::string & | message ) |
|
inline |
CTOR with arguments.
- Parameters
-
| oo_type_operation | name of the operation |
| oo_operation_args | list of the given arguments |
| message | the message to set |
◆ Error() [3/3]
| ddl::dd::Error::Error |
( |
const std::string & | oo_type_operation, |
|
|
const std::vector< std::string > & | oo_operation_args, |
|
|
const std::string & | message, |
|
|
const std::vector< Problem > & | problems ) |
|
inline |
CTOR with arguments.
- Parameters
-
| oo_type_operation | name of the operation |
| oo_operation_args | list of the given arguments |
| message | the message to set |
| problems | the problems (usually the validation protocol) |
◆ problems()
| const std::vector< Problem > & ddl::dd::Error::problems |
( |
| ) |
const |
|
inline |
get the problems
- Returns
- std::vector<Problem>&
◆ what()
| char const * ddl::dd::Error::what |
( |
| ) |
const |
|
inlineoverridenoexcept |
get the problem message
- Returns
- const char*
The documentation for this class was generated from the following file: