RTC Toolkit
2.0.0
|
Provides macros and utilities for exception handling. More...
#include <string_view>
#include <type_traits>
#include <typeinfo>
#include <ciiBasicDataType.hpp>
#include <ciiException.hpp>
Go to the source code of this file.
Classes | |
struct | rtctk::componentFramework::detail::UnspecifiedNested< T > |
Unspecified exception used by WrapWithNested. More... | |
class | rtctk::componentFramework::NestedExceptionPrinter |
Adapter object intended to be used in contexts without direct access to the output-stream object. More... | |
class | rtctk::componentFramework::RtctkException |
The RtctkException class is the base class for all Rtctk exceptions. More... | |
class | rtctk::componentFramework::NotImplementedException |
The NotImplementedException is thrown whenever an attempt is made to use a feature or function that has not been implemented. More... | |
class | rtctk::componentFramework::UnsupportedTypeException |
The UnsupportedTypeException is thrown whenever an attempt is made to use an unsupported type in the RTC Toolkit API. More... | |
class | rtctk::componentFramework::UnsupportedUriException |
The UnsupportedUriException is thrown whenever an attempt is made to use an unsupported URI in the RTC Toolkit API. More... | |
class | rtctk::componentFramework::BufferTooSmall |
The BufferTooSmall is thrown when an API call fails because the provided buffer is not big enough to hold the data. More... | |
class | rtctk::componentFramework::InvalidArgumentException |
class | rtctk::componentFramework::InitialisationException |
Thrown in cases where an initialisation routine has failed. More... | |
Namespaces | |
rtctk | |
rtctk::componentFramework | |
rtctk::componentFramework::detail | |
Functions | |
std::ostream & | rtctk::componentFramework::detail::JoinLines (std::ostream &os, std::string_view lines, std::string_view initial_indent, std::string_view subsequent_indent) |
Join each line in lines with. More... | |
template<class E > | |
auto | rtctk::componentFramework::WrapWithNested (E &&exception) noexcept(std::is_nothrow_constructible_v< detail::UnspecifiedNested< typename std::decay_t< E >>, E && >) |
Constructs an unspecified exception that derives from both the provided object and std::nested_exception. More... | |
void | rtctk::componentFramework::PrintNestedExceptions (std::ostream &os, std::exception const &exception) |
Print nested exception(s) in exception messages to os. More... | |
void | rtctk::componentFramework::PrintNestedExceptions (std::ostream &os, std::exception_ptr ptr) |
Print nested exception(s) in exception messages to os. More... | |
Provides macros and utilities for exception handling.