codac 1.5.6
Loading...
Searching...
No Matches
codac_DomainsTypeException.h
Go to the documentation of this file.
1
12#ifndef __CODAC_DOMAINSTYPEEXCEPTION_H__
13#define __CODAC_DOMAINSTYPEEXCEPTION_H__
14
15#include <vector>
16#include <string>
17#include "codac_Exception.h"
18#include "codac_Domain.h"
19
20namespace codac
21{
28 {
29 public:
30
38 DomainsTypeException(const std::string& ctc_name,
39 const std::vector<Domain*>& v_ptr_domains,
40 const std::vector<std::string>& v_str_expected_doms);
41
49 DomainsTypeException(const std::string& ctc_name,
50 const std::vector<Domain>& v_domains,
51 const std::vector<std::string>& v_str_expected_doms);
52
53 protected:
54
63 static std::string exception_message(const std::string& ctc_name,
64 const std::vector<Domain>& v_domains, const std::vector<std::string>& v_str_expected_doms);
65
74 static std::string exception_message(const std::string& ctc_name,
75 const std::vector<Domain*>& v_ptr_domains, const std::vector<std::string>& v_str_expected_doms);
76 };
77}
78
79#endif
Exception raised if the domains connected to a contractor in a CN are not consistent with the contrac...
Definition codac_DomainsTypeException.h:28
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.
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.
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.
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.
Root class of all exceptions raised by Codac.
Definition codac_Exception.h:37
FixPoint of a separator The fixpoint of a separator is computed by calling the "::"separate function ...
Definition codac_capd_helpers.h:9