Public Member Functions | Private Attributes | List of all members
swarmros::introspection::SchemaMismatchException Class Reference

Exception thrown when the schema does not match the variant. More...

#include <SchemaMismatchException.h>

Inheritance diagram for swarmros::introspection::SchemaMismatchException:
Inheritance graph
[legend]

Public Member Functions

const char * location () const
 Get the location of the mismatch. More...
 
 SchemaMismatchException (const char *message, const std::string &location)
 Constructor. More...
 
- Public Member Functions inherited from swarmio::Exception
 Exception (const char *message)
 Construct a new Exception. More...
 
const char * what () const noexceptoverride
 Get the error message. More...
 

Private Attributes

std::string _location
 The location where the exception has occurred. More...
 

Detailed Description

Exception thrown when the schema does not match the variant.

Definition at line 12 of file SchemaMismatchException.h.

Constructor & Destructor Documentation

swarmros::introspection::SchemaMismatchException::SchemaMismatchException ( const char *  message,
const std::string &  location 
)
inline

Constructor.

Parameters
messageMessage
locationLocation

Definition at line 30 of file SchemaMismatchException.h.

Member Function Documentation

const char* swarmros::introspection::SchemaMismatchException::location ( ) const
inline

Get the location of the mismatch.

Returns
const char*

Definition at line 38 of file SchemaMismatchException.h.

Member Data Documentation

std::string swarmros::introspection::SchemaMismatchException::_location
private

The location where the exception has occurred.

Definition at line 20 of file SchemaMismatchException.h.


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


swarmros
Author(s):
autogenerated on Fri Apr 3 2020 03:42:48