Exception raised if the domains connected to a contractor in a CN are not consistent with the contractor definition.
More...
#include <codac_DomainsTypeException.h>
|
| DomainsTypeException (const std::string &ctc_name, const std::vector< Domain * > &v_ptr_domains, const std::vector< std::string > &v_str_expected_doms) |
| Creates a DomainsTypeException from a vector of pointers to Domain objects.
|
|
| DomainsTypeException (const std::string &ctc_name, const std::vector< Domain > &v_domains, const std::vector< std::string > &v_str_expected_doms) |
| Creates a DomainsTypeException from a vector of Domain objects.
|
|
| Exception (const std::string &function_name, const std::string &custom_message) |
| Creates an std::exception related to a C++ function and some custom error message.
|
|
| ~Exception () throw () |
| Exception destructor.
|
|
virtual const char * | what () const throw () |
| Returns the exception message.
|
|
|
static std::string | exception_message (const std::string &ctc_name, const std::vector< Domain > &v_domains, const std::vector< std::string > &v_str_expected_doms) |
| Generates the Exception message.
|
|
static std::string | exception_message (const std::string &ctc_name, const std::vector< Domain * > &v_ptr_domains, const std::vector< std::string > &v_str_expected_doms) |
| Generates the Exception message.
|
|
Exception raised if the domains connected to a contractor in a CN are not consistent with the contractor definition.
◆ DomainsTypeException() [1/2]
codac::DomainsTypeException::DomainsTypeException |
( |
const std::string & | ctc_name, |
|
|
const std::vector< Domain * > & | v_ptr_domains, |
|
|
const std::vector< std::string > & | v_str_expected_doms ) |
Creates a DomainsTypeException
from a vector of pointers to Domain
objects.
- Parameters
-
ctc_name | the contractor class name |
v_ptr_domains | pointers to the domains provided by the user |
v_str_expected_doms | the allowed definitions for the contractor |
◆ DomainsTypeException() [2/2]
codac::DomainsTypeException::DomainsTypeException |
( |
const std::string & | ctc_name, |
|
|
const std::vector< Domain > & | v_domains, |
|
|
const std::vector< std::string > & | v_str_expected_doms ) |
Creates a DomainsTypeException
from a vector of Domain
objects.
- Parameters
-
ctc_name | the contractor class name |
v_domains | the domains provided by the user |
v_str_expected_doms | the allowed definitions for the contractor |
◆ exception_message() [1/2]
static std::string codac::DomainsTypeException::exception_message |
( |
const std::string & | ctc_name, |
|
|
const std::vector< Domain > & | v_domains, |
|
|
const std::vector< std::string > & | v_str_expected_doms ) |
|
staticprotected |
Generates the Exception message.
- Parameters
-
ctc_name | the contractor class name |
v_domains | the domains provided by the user |
v_str_expected_doms | the allowed definitions for the contractor |
- Returns
- exception message
◆ exception_message() [2/2]
static std::string codac::DomainsTypeException::exception_message |
( |
const std::string & | ctc_name, |
|
|
const std::vector< Domain * > & | v_ptr_domains, |
|
|
const std::vector< std::string > & | v_str_expected_doms ) |
|
staticprotected |
Generates the Exception message.
- Parameters
-
ctc_name | the contractor class name |
v_ptr_domains | pointers to the domains provided by the user |
v_str_expected_doms | the allowed definitions for the contractor |
- Returns
- exception message
The documentation for this class was generated from the following file: