lsst.pex.policy  13.0-2-g4b114ac+9
Public Member Functions | List of all members
lsst::pex::policy::TypeError Class Reference

an exception indicating that a policy parameter with a given name has a type different from the one that was requested. More...

#include <exceptions.h>

Inheritance diagram for lsst::pex::policy::TypeError:

Public Member Functions

 TypeError (char const *ex_file, int ex_line, char const *ex_func)
 
 TypeError (char const *ex_file, int ex_line, char const *ex_func, const std::string &parameter, const std::string &expected)
 
virtual char const * getType (void) const throw ()
 
virtual lsst::pex::exceptions::Exception * clone () const
 

Detailed Description

an exception indicating that a policy parameter with a given name has a type different from the one that was requested.

Definition at line 108 of file exceptions.h.

Constructor & Destructor Documentation

◆ TypeError() [1/2]

lsst::pex::policy::TypeError::TypeError ( char const *  ex_file,
int  ex_line,
char const *  ex_func 
)
inline

Definition at line 110 of file exceptions.h.

◆ TypeError() [2/2]

lsst::pex::policy::TypeError::TypeError ( char const *  ex_file,
int  ex_line,
char const *  ex_func,
const std::string &  parameter,
const std::string &  expected 
)
inline

Definition at line 114 of file exceptions.h.

Member Function Documentation

◆ clone()

virtual lsst::pex::exceptions::Exception* lsst::pex::policy::TypeError::clone ( ) const
virtual

◆ getType()

virtual char const* lsst::pex::policy::TypeError::getType ( void  ) const
throw (
)
virtual

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