This is the base class for exceptions thrown during the execution of coordinator side requests which indicate an error that possibly require a rollback or other kinds of specific error handling.
More...
#include <RequestExecutionException.hpp>
This is the base class for exceptions thrown during the execution of coordinator side requests which indicate an error that possibly require a rollback or other kinds of specific error handling.
◆ RequestExecutionException() [1/2]
NES::Exceptions::RequestExecutionException::RequestExecutionException |
( |
const std::string & |
message | ) |
|
|
explicit |
◆ RequestExecutionException() [2/2]
NES::Exceptions::RequestExecutionException::RequestExecutionException |
( |
QueryId |
queryId, |
|
|
const std::string & |
message |
|
) |
| |
|
explicit |
◆ as()
template<class ExceptionType >
std::shared_ptr<ExceptionType> NES::Exceptions::RequestExecutionException::as |
( |
| ) |
|
|
inline |
Dynamically casts the exception to the given type.
- Template Parameters
-
- Returns
- returns a shared pointer of the given type
◆ getQueryId()
QueryId NES::Exceptions::RequestExecutionException::getQueryId |
( |
| ) |
const |
◆ instanceOf()
template<class ExceptionType >
bool NES::Exceptions::RequestExecutionException::instanceOf |
( |
| ) |
|
|
inline |
Checks if this object is of type ExceptionType.
- Template Parameters
-
- Returns
- bool true if object is of type ExceptionType
Referenced by NES::TEST_F().
The documentation for this class was generated from the following files: