sbuild  1.5.3
Public Types | Public Member Functions
sbuild::parse_error< T > Class Template Reference

Parse error. More...

#include <sbuild-parse-error.h>

+ Inheritance diagram for sbuild::parse_error< T >:
+ Collaboration diagram for sbuild::parse_error< T >:

List of all members.

Public Types

typedef error< T >::error_type error_type
 The enum type providing the error codes for this type.

Public Member Functions

template<typename C >
 parse_error (C const &context, error_type error)
 The constructor.
template<typename D >
 parse_error (error_type error, D const &detail)
 The constructor.
template<typename D >
 parse_error (size_t line, error_type error, D const &detail)
 The constructor.
template<typename D >
 parse_error (size_t line, std::string const &group, error_type error, D const &detail)
 The constructor.
template<typename D >
 parse_error (size_t line, std::string const &group, std::string const &key, error_type error, D const &detail)
 The constructor.
template<typename D >
 parse_error (std::string const &group, error_type error, D const &detail)
 The constructor.
template<typename D >
 parse_error (std::string const &group, std::string const &key, error_type error, D const &detail)
 The constructor.
template<typename C >
 parse_error (C const &context, std::runtime_error const &error)
 The constructor.
 parse_error (size_t line, std::runtime_error const &error)
 The constructor.
 parse_error (size_t line, std::string const &group, std::runtime_error const &error)
 The constructor.
 parse_error (size_t line, std::string const &group, std::string const &key, std::runtime_error const &error)
 The constructor.
 parse_error (std::string const &group, std::runtime_error const &error)
 The constructor.
 parse_error (std::string const &group, std::string const &key, std::runtime_error const &error)
 The constructor.

Detailed Description

template<typename T>
class sbuild::parse_error< T >

Parse error.


Constructor & Destructor Documentation

template<typename T >
template<typename C >
sbuild::parse_error< T >::parse_error ( C const &  context,
error_type  error 
) [inline]

The constructor.

Parameters:
contextthe context of the error.
errorthe error code.
template<typename T >
template<typename D >
sbuild::parse_error< T >::parse_error ( error_type  error,
D const &  detail 
) [inline]

The constructor.

Parameters:
errorthe error code.
detailthe details of the error.
template<typename T >
template<typename D >
sbuild::parse_error< T >::parse_error ( size_t  line,
error_type  error,
D const &  detail 
) [inline]

The constructor.

Parameters:
linethe line the error occurred on.
errorthe error code.
detailthe details of the error.
template<typename T >
template<typename D >
sbuild::parse_error< T >::parse_error ( size_t  line,
std::string const &  group,
error_type  error,
D const &  detail 
) [inline]

The constructor.

Parameters:
linethe line the error occurred on.
groupthe group the error occurred within.
errorthe error code.
detailthe details of the error.
template<typename T >
template<typename D >
sbuild::parse_error< T >::parse_error ( size_t  line,
std::string const &  group,
std::string const &  key,
error_type  error,
D const &  detail 
) [inline]

The constructor.

Parameters:
linethe line the error occurred on.
groupthe group the error occurred within.
keythe key the error occurred within.
errorthe error code.
detailthe details of the error.
template<typename T >
template<typename D >
sbuild::parse_error< T >::parse_error ( std::string const &  group,
error_type  error,
D const &  detail 
) [inline]

The constructor.

Parameters:
groupthe group the error occurred within.
errorthe error code.
detailthe details of the error.
template<typename T >
template<typename D >
sbuild::parse_error< T >::parse_error ( std::string const &  group,
std::string const &  key,
error_type  error,
D const &  detail 
) [inline]

The constructor.

Parameters:
groupthe group the error occurred within.
keythe key the error occurred within.
errorthe error code.
detailthe details of the error.
template<typename T >
template<typename C >
sbuild::parse_error< T >::parse_error ( C const &  context,
std::runtime_error const &  error 
) [inline]

The constructor.

Parameters:
contextthe context of the error.
errorthe error.
template<typename T >
sbuild::parse_error< T >::parse_error ( size_t  line,
std::runtime_error const &  error 
) [inline]

The constructor.

Parameters:
linethe line the error occurred on.
errorthe error.
template<typename T >
sbuild::parse_error< T >::parse_error ( size_t  line,
std::string const &  group,
std::runtime_error const &  error 
) [inline]

The constructor.

Parameters:
linethe line the error occurred on.
groupthe group the error occurred within.
errorthe error.
template<typename T >
sbuild::parse_error< T >::parse_error ( size_t  line,
std::string const &  group,
std::string const &  key,
std::runtime_error const &  error 
) [inline]

The constructor.

Parameters:
linethe line the error occurred on.
groupthe group the error occurred within.
keythe key the error occurred within.
errorthe error.
template<typename T >
sbuild::parse_error< T >::parse_error ( std::string const &  group,
std::runtime_error const &  error 
) [inline]

The constructor.

Parameters:
groupthe group the error occurred within.
errorthe error.
template<typename T >
sbuild::parse_error< T >::parse_error ( std::string const &  group,
std::string const &  key,
std::runtime_error const &  error 
) [inline]

The constructor.

Parameters:
groupthe group the error occurred within.
keythe key the error occurred within.
errorthe error.

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