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::BadNameError Class Reference

#include <exceptions.h>

Inheritance diagram for lsst::pex::policy::BadNameError:

Public Member Functions

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

Detailed Description

an exception thrown when Policy parameter name has an illegal form. This usually means that it contains zero-length fields. In other words, it either starts with a period, ends with a period, or contains two or more consecutive periods.

Definition at line 55 of file exceptions.h.

Constructor & Destructor Documentation

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

Definition at line 57 of file exceptions.h.

58  : lsst::pex::exceptions::RuntimeError(
59  POL_EARGS_UNTYPED, "Illegal Policy parameter name")
60  { }
#define POL_EARGS_UNTYPED
Definition: exceptions.h:38
lsst::pex::policy::BadNameError::BadNameError ( char const *  ex_file,
int  ex_line,
char const *  ex_func,
const std::string &  badname 
)
inline

Definition at line 61 of file exceptions.h.

62  : lsst::pex::exceptions::RuntimeError(POL_EARGS_UNTYPED,
63  std::string("Illegal Policy parameter name: ") + badname)
64  { }
#define POL_EARGS_UNTYPED
Definition: exceptions.h:38

Member Function Documentation

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

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