![]() |
ProSHADE
0.7.6.2 (DEC 2021)
Protein Shape Detection
|
This class is the representation of ProSHADE exception. More...
#include <ProSHADE_exceptions.hpp>
Public Member Functions | |
ProSHADE_exception (const char *msg, std::string errc_, std::string file_, unsigned int line_, std::string func_, std::string info_) | |
virtual std::string | get_errc (void) |
This function returns the exception error code. More... | |
virtual std::string | get_file (void) |
This function returns the exception location file name. More... | |
virtual int long | get_line (void) |
This function returns the exception location line. More... | |
virtual std::string | get_func (void) |
This function returns the exception causing function name. More... | |
virtual std::string | get_info (void) |
This function returns the exception description. More... | |
This class is the representation of ProSHADE exception.
An object of this class is thrown whenever ProSHADE encounters exceptional case and needs handling it in unusual manner. It is a slight expansion on the usual C++ extension class.
Definition at line 36 of file ProSHADE_exceptions.hpp.
|
virtual |
This function returns the exception error code.
[out] | errc | Error code of the exception. |
Definition at line 29 of file ProSHADE_exceptions.cpp.
|
virtual |
This function returns the exception location file name.
[out] | file | The file from where the exception originated. |
Definition at line 35 of file ProSHADE_exceptions.cpp.
|
virtual |
This function returns the exception causing function name.
[out] | func | The name of the function from which the exception has originated. |
Definition at line 47 of file ProSHADE_exceptions.cpp.
|
virtual |
This function returns the exception description.
[out] | info | The information provided with the exception. |
Definition at line 53 of file ProSHADE_exceptions.cpp.
|
virtual |
This function returns the exception location line.
[out] | line | The line of code that caused the exception. |
Definition at line 41 of file ProSHADE_exceptions.cpp.