File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -86,3 +86,8 @@ std::string analysis_exceptiont::what() const
86
86
{
87
87
return reason;
88
88
}
89
+
90
+ std::string invalid_source_file_exceptiont::what () const
91
+ {
92
+ return reason;
93
+ }
Original file line number Diff line number Diff line change @@ -120,4 +120,16 @@ class analysis_exceptiont : public cprover_exception_baset
120
120
std::string reason;
121
121
};
122
122
123
+ // / Thrown when we can't handle something in an input source file.
124
+ // / For example, if we get C source code that is not syntactically valid
125
+ // / or that has type errors.
126
+ class invalid_source_file_exceptiont : public cprover_exception_baset
127
+ {
128
+ public:
129
+ std::string what () const override ;
130
+
131
+ private:
132
+ std::string reason;
133
+ };
134
+
123
135
#endif // CPROVER_UTIL_EXCEPTION_UTILS_H
You can’t perform that action at this time.
0 commit comments