Loading...
Searching...
No Matches
invalid_source_file_exceptiont Class Reference
Thrown when we can't handle something in an input source file.
More...
#include <exception_utils.h>
+ Inheritance diagram for invalid_source_file_exceptiont:
+ Collaboration diagram for invalid_source_file_exceptiont:
A human readable description of what went wrong.
Additional Inherited Members
This constructor is marked protected to ensure this class isn't used directly.
This constructor is marked protected to ensure this class isn't used directly.
The reason this exception was generated.
Detailed Description
Thrown when we can't handle something in an input source file.
For example, if we get C source code that is not syntactically valid or that has type errors.
Definition at line 171 of file exception_utils.h.
Constructor & Destructor Documentation
◆ invalid_source_file_exceptiont()
invalid_source_file_exceptiont::invalid_source_file_exceptiont
(
std::string
reason,
)
Member Function Documentation
◆ get_reason()
const std::string & invalid_source_file_exceptiont::get_reason
(
)
const
inline
◆ get_source_location()
◆ what()
std::string invalid_source_file_exceptiont::what
(
)
const
overridevirtual
A human readable description of what went wrong.
For readability, implementors should not add a leading or trailing newline to this description.
Reimplemented from cprover_exception_baset.
Definition at line 96 of file exception_utils.cpp.
Member Data Documentation
◆ source_location
The documentation for this class was generated from the following files: