C++/Tree Mapping Runtime Library
Public Member Functions | List of all members
parsing< C > Class Template Reference

Exception indicating a parsing failure. More...

#include <exceptions.hxx>

Inheritance diagram for parsing< C >:
exception< C >

Public Member Functions

 parsing ()
 Default constructor.
 
 parsing (const tree::diagnostics< C > &d)
 Initialize an instance with a list of error conditions.
 
const tree::diagnostics< C > & diagnostics () const
 Get the list of error conditions.
 
virtual const char * what () const throw ()
 Get exception description.
 

Detailed Description

template<typename C>
class xsd::cxx::tree::parsing< C >

Exception indicating a parsing failure.

Constructor & Destructor Documentation

◆ parsing()

template<typename C >
parsing ( const tree::diagnostics< C > &  d)

Initialize an instance with a list of error conditions.

Parameters
dA list of error conditions.

Member Function Documentation

◆ diagnostics()

template<typename C >
const tree::diagnostics< C > & diagnostics ( ) const
inline

Get the list of error conditions.

Returns
The list of error conditions.

◆ what()

template<typename C >
virtual const char * what ( ) const
throw (
)
virtual

Get exception description.

Returns
A C string describing the exception.

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

Copyright © 2005-2023 Code Synthesis.