LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
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: