Exception thrown when the schema does not match the variant. More...
#include <SchemaMismatchException.h>

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... | |
Exception thrown when the schema does not match the variant.
Definition at line 12 of file SchemaMismatchException.h.
|
inline |
Constructor.
| message | Message |
| location | Location |
Definition at line 30 of file SchemaMismatchException.h.
|
inline |
Get the location of the mismatch.
Definition at line 38 of file SchemaMismatchException.h.
|
private |
The location where the exception has occurred.
Definition at line 20 of file SchemaMismatchException.h.