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

Exception indicating that a duplicate ID value was encountered in the object model. More...

#include <exceptions.hxx>

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

Public Member Functions

 duplicate_id (const std::basic_string< C > &id)
 Initialize an instance with the offending ID value.
 
const std::basic_string< C > & id () const
 Get the offending ID value.
 
virtual const char * what () const throw ()
 Get exception description.
 

Detailed Description

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

Exception indicating that a duplicate ID value was encountered in the object model.

Constructor & Destructor Documentation

◆ duplicate_id()

template<typename C >
duplicate_id ( const std::basic_string< C > &  id)

Initialize an instance with the offending ID value.

Parameters
idAn offending ID value.

Member Function Documentation

◆ id()

template<typename C >
const std::basic_string< C > & id ( ) const
inline

Get the offending ID value.

Returns
The offending ID value.

◆ 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.