basic-xml 1.0.1
Very basic loader/writer of XML tags with attributes and content.
Functions
exception.h File Reference

Snap! Database exceptions. More...

#include <libexcept/exception.h>
Include dependency graph for exception.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

 basic_xml::DECLARE_EXCEPTION (xml_error, file_not_found)
 
 basic_xml::DECLARE_EXCEPTION (xml_error, invalid_entity)
 
 basic_xml::DECLARE_EXCEPTION (xml_error, invalid_number)
 
 basic_xml::DECLARE_EXCEPTION (xml_error, invalid_token)
 
 basic_xml::DECLARE_EXCEPTION (xml_error, invalid_xml)
 
 basic_xml::DECLARE_EXCEPTION (xml_error, node_already_in_tree)
 
 basic_xml::DECLARE_EXCEPTION (xml_error, node_is_root)
 
 basic_xml::DECLARE_EXCEPTION (xml_error, unexpected_eof)
 
 basic_xml::DECLARE_EXCEPTION (xml_error, unexpected_token)
 
 basic_xml::DECLARE_LOGIC_ERROR (logic_error)
 
 basic_xml::DECLARE_MAIN_EXCEPTION (xml_error)
 
 basic_xml::DECLARE_OUT_OF_RANGE (out_of_range)
 

Detailed Description

This files declares a few exceptions that the database uses when a parameter is wrong or something goes wrong (can't open a file, can't create a lock for the context, etc.)

The prinbee also makes use of the snaplogger so it will emit a corresponding error to the log before throwing an exception.

Definition in file exception.h.

This document is part of the Snap! Websites Project.

Copyright by Made to Order Software Corp.