Exception thrown due to a C++ AMP runtime_exception. This is the base type for all C++ AMP exception types.
More...
#include <amprt_exceptions.h>
Exception thrown due to a C++ AMP runtime_exception. This is the base type for all C++ AMP exception types.
_AMPIMP Concurrency::runtime_exception::runtime_exception |
( |
const char * |
_Message, |
|
|
HRESULT |
_Hresult |
|
) |
| |
throw | ( | |
| ) | | |
Construct a runtime_exception exception with a message and an error code
- Parameters
-
_Message | Descriptive message of error |
_Hresult | HRESULT of error that caused this exception |
_AMPIMP Concurrency::runtime_exception::runtime_exception |
( |
HRESULT |
_Hresult | ) |
|
throw | ( | |
| ) | | |
|
explicit |
Construct a runtime_exception exception with an error code
- Parameters
-
_Hresult | HRESULT of error that caused this exception |
virtual _AMPIMP Concurrency::runtime_exception::~runtime_exception |
( |
| ) |
|
throw | ( | |
| ) | | |
|
virtual |
_AMPIMP HRESULT Concurrency::runtime_exception::get_error_code |
( |
| ) |
const |
throw | ( | |
| ) | | |
Get the error code that caused this exception
- Returns
- HRESULT of error that caused the exception
Assignment operator
- Parameters
-
HRESULT Concurrency::runtime_exception::_M_error_code |
|
private |
The documentation for this class was generated from the following file: