RTEMS 6.1-rc1
Data Structures | Functions
error.hpp File Reference

RTEMS Error exception. More...

#include <stdexcept>
#include <string>
#include <rtems/error.h>

Go to the source code of this file.

Data Structures

class  rtems::runtime_error
 

Functions

void rtems::runtime_error_check (const rtems_status_code sc)
 
void rtems::runtime_error_check (const rtems_status_code sc, const std::string &what)
 
void rtems::runtime_error_check (const rtems_status_code sc, const char *what)
 

Detailed Description

RTEMS Error exception.

++

Provide an error exception for RTEMS errors.

Function Documentation

◆ runtime_error_check()

void rtems::runtime_error_check ( const rtems_status_code  sc)

Throw a rtems::runtime_error exception if the RTEMS status code is not RTEMS_SUCCESSFUL.