VSM C++ SDK
Vehicle Specific Modules SDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ugcs::vsm::Param_exception< Dummy, TParam > Class Template Reference

Exception class with one parameter. More...

#include <exception.h>

Inheritance diagram for ugcs::vsm::Param_exception< Dummy, TParam >:
ugcs::vsm::Exception

Public Member Functions

 Param_exception (Va_args_overload, const char *msg,...)
 Different constructors for optionally taking the parameter value and formatted message.
 
 Param_exception (Va_list_overload, const char *msg, va_list args)
 
 Param_exception (Va_args_overload, const TParam &param, const char *msg,...)
 
 Param_exception (Va_list_overload, const TParam &param, const char *msg, va_list args)
 
- Public Member Functions inherited from ugcs::vsm::Exception
 Exception ()
 Default constructor should not be used often. More...
 
 Exception (Va_args_overload, const char *msg,...)
 Construct exception. More...
 
 Exception (Va_list_overload, const char *msg, va_list args)
 Construct exception. More...
 
virtual const char * what () const noexceptoverride
 Get readable exception description. More...
 

Public Attributes

TParam param
 User-defined parameter. More...
 

Additional Inherited Members

- Protected Member Functions inherited from ugcs::vsm::Exception
void Create_msg (const char *msg, va_list args)
 Create message string (data member "msg") from format parameters. More...
 
- Protected Attributes inherited from ugcs::vsm::Exception
std::string msg
 Exception message. More...
 

Detailed Description

template<typename Dummy = void, typename TParam = int>
class ugcs::vsm::Param_exception< Dummy, TParam >

Exception class with one parameter.

If you need more than one parameter then wrap them into class and specify the class here.

Parameters
TParamType for exception parameter.
DummyType used for differentiating exception types signatures.

Member Data Documentation

template<typename Dummy = void, typename TParam = int>
TParam ugcs::vsm::Param_exception< Dummy, TParam >::param

User-defined parameter.


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