Awali
Another Weighted Automata library
Public Member Functions | Data Fields
awali::json::exception Class Reference

#include <node.hh>

Inheritance diagram for awali::json::exception:
awali::json::coercion_exception awali::json::kind_mismatch awali::json::out_of_range awali::json::parse_exception

Public Member Functions

 exception (std::string const &message, std::string const &caller, node_t const *node=nullptr)
 
 exception (std::string const &message, std::string const &caller, path_t path_to_root, int line, int col)
 
 exception (std::string message, node_t const *node=nullptr)
 
virtual const char * what () const noexcept override
 

Data Fields

node_tattempted_parsed_tree
 
std::string caller
 
std::string message
 
node_t const * node
 
path_t path_to_root
 
std::string what_msg
 

Constructor & Destructor Documentation

◆ exception() [1/3]

awali::json::exception::exception ( std::string const &  message,
std::string const &  caller,
path_t  path_to_root,
int  line,
int  col 
)

◆ exception() [2/3]

awali::json::exception::exception ( std::string const &  message,
std::string const &  caller,
node_t const *  node = nullptr 
)

◆ exception() [3/3]

awali::json::exception::exception ( std::string  message,
node_t const *  node = nullptr 
)

Member Function Documentation

◆ what()

virtual const char* awali::json::exception::what ( ) const
overridevirtualnoexcept

Field Documentation

◆ attempted_parsed_tree

node_t* awali::json::exception::attempted_parsed_tree

◆ caller

std::string awali::json::exception::caller

◆ message

std::string awali::json::exception::message

◆ node

node_t const* awali::json::exception::node

◆ path_to_root

path_t awali::json::exception::path_to_root

◆ what_msg

std::string awali::json::exception::what_msg

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