LSSTApplications  10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
LSSTDataManagementBasePackage
Public Member Functions | List of all members
lsst::pex.policy::NameNotFound Class Reference

#include <exceptions.h>

Inheritance diagram for lsst::pex.policy::NameNotFound:

Public Member Functions

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

Detailed Description

an exception indicating that a policy parameter of a given name can not be found in a Policy object.

Definition at line 90 of file exceptions.h.

Constructor & Destructor Documentation

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

Definition at line 92 of file exceptions.h.

93  : lsst::pex::exceptions::NotFoundError(
94  POL_EARGS_UNTYPED, "Policy parameter name not found")
95  { }
#define POL_EARGS_UNTYPED
Definition: exceptions.h:38
lsst::pex.policy::NameNotFound::NameNotFound ( char const *  ex_file,
int  ex_line,
char const *  ex_func,
const std::string &  parameter 
)
inline

Definition at line 96 of file exceptions.h.

97  : lsst::pex::exceptions::NotFoundError(POL_EARGS_UNTYPED,
98  std::string("Policy parameter name not found: ") + parameter)
99  { }
#define POL_EARGS_UNTYPED
Definition: exceptions.h:38

Member Function Documentation

virtual lsst::pex::exceptions::Exception* lsst::pex.policy::NameNotFound::clone ( ) const
virtual
virtual char const* lsst::pex.policy::NameNotFound::getType ( void  ) const
throw (
)
virtual

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