LocatedException class thrown with extra information such as file_path, func, line_num, internal_code and descriptions.
More...
#include <ssgx_exception_t.h>
|
| | LocatedException (const char *file_path, int line_num, const char *func, int internal_code, const char *message) |
| |
| virtual const char * | what () const noexcept |
| |
LocatedException class thrown with extra information such as file_path, func, line_num, internal_code and descriptions.
try {
if ((ret = BN_set_bit(bn_, index)) != 1) {
"(ret = BN_set_bit(bn_, index)) != 1");
}
std::cout << e.what() << std::endl;
}
LocatedException(const char *file_path, int line_num, const char *func, int internal_code, const char *message)
Definition ssgx_exception_t.h:40
The output is: Catch LocatedException: tring_crypto/crypto-bn-cpp/src/crypto-bn/bn.cpp:1124:FromBytesBE:0:(ret = BN_set_bit(bn_, index)) != 1
◆ LocatedException()
| ssgx::exception_t::LocatedException::LocatedException |
( |
const char * | file_path, |
|
|
int | line_num, |
|
|
const char * | func, |
|
|
int | internal_code, |
|
|
const char * | message ) |
|
inlineexplicit |
◆ what()
| virtual const char * ssgx::exception_t::LocatedException::what |
( |
| ) |
const |
|
inlinevirtualnoexcept |
◆ info_
| std::string ssgx::exception_t::LocatedException::info_ |
The documentation for this class was generated from the following file: