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

an exception thrown when Policy parameter name has an illegal form. More...

#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

◆ BadNameError() [1/2]

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.

◆ BadNameError() [2/2]

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.

Member Function Documentation

◆ clone()

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

◆ getType()

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

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