lsst.pex.policy  19.0.0-2-g3b2f90d
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:
lsst::pex::exceptions::RuntimeError lsst::pex::exceptions::Exception std::exception

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::Exceptionclone () const
 
void addMessage (char const *file, int line, char const *func, std::string const &message)
 
Traceback const & getTraceback (void) const noexcept
 
virtual std::ostreamaddToStream (std::ostream &stream) const
 
virtual char const * what (void) const noexcept
 
what (T... args)
 

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 54 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 56 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 58 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: