Exception Handling in C.
More...
Go to the source code of this file.
◆ PJ_CATCH
Catch the specified exception Id.
- Parameters
-
id | The exception number to catch. |
◆ PJ_CATCH_ANY
Catch any exception number.
◆ PJ_END
End of exception specification block.
◆ PJ_GET_EXCEPTION
#define PJ_GET_EXCEPTION |
( |
| ) |
|
Get current exception.
- Returns
- Current exception code.
◆ PJ_THROW
#define PJ_THROW |
( |
|
exception_id | ) |
|
Throw exception.
- Parameters
-
exception_id | The exception number. |
◆ PJ_TRY
Start exception specification block.
◆ PJ_USE_EXCEPTION
Declare that the function will use exception.
◆ pj_pop_exception_handler_()
◆ pj_push_exception_handler_()
◆ pj_throw_exception_()
Throw exception.
- Parameters
-