Public Member Functions | Public Attributes | List of all members
cras::GetParamException Class Reference

Exception thrown when conversion of a parameter fails during getParam() if option throwIfConvertFails is true or when a missing parameter is required. More...

#include <param_utils.hpp>

Inheritance diagram for cras::GetParamException:
Inheritance graph
[legend]

Public Member Functions

 GetParamException (const ::cras::GetParamResultInfo &info)
 Construct the exception. More...
 

Public Attributes

::cras::GetParamResultInfo info
 Details about getParam() execution. More...
 

Detailed Description

Exception thrown when conversion of a parameter fails during getParam() if option throwIfConvertFails is true or when a missing parameter is required.

Definition at line 39 of file param_utils.hpp.

Constructor & Destructor Documentation

◆ GetParamException()

cras::GetParamException::GetParamException ( const ::cras::GetParamResultInfo info)
inlineexplicit

Construct the exception.

Parameters
infoDetails about getParam() execution until the failure.

Definition at line 46 of file param_utils.hpp.

Member Data Documentation

◆ info

::cras::GetParamResultInfo cras::GetParamException::info

Details about getParam() execution.

Definition at line 49 of file param_utils.hpp.


The documentation for this class was generated from the following file:


cras_cpp_common
Author(s): Martin Pecka
autogenerated on Tue Nov 26 2024 03:49:04