lsst.pex.policy  15.0+13
Classes | Namespaces | Macros
exceptions.h File Reference

definition of Policy-specific exceptions classes More...

#include "lsst/pex/exceptions.h"

Go to the source code of this file.

Classes

class  lsst::pex::policy::BadNameError
 an exception thrown when Policy parameter name has an illegal form. More...
 
class  lsst::pex::policy::DictionaryError
 There is a problem with a dictionary. More...
 
class  lsst::pex::policy::NameNotFound
 an exception indicating that a policy parameter of a given name can not be found in a Policy object. More...
 
class  lsst::pex::policy::TypeError
 an exception indicating that a policy parameter with a given name has a type different from the one that was requested. More...
 

Namespaces

 lsst
 
 lsst::pex
 
 lsst::pex::policy
 

Macros

#define POL_EARGS_TYPED   char const* ex_file, int ex_line, char const* ex_func
 
#define POL_EARGS_UNTYPED   ex_file, ex_line, ex_func
 
#define POL_EXCEPT_VIRTFUNCS(etn)
 

Detailed Description

definition of Policy-specific exceptions classes

Author
Ray Plante

Definition in file exceptions.h.

Macro Definition Documentation

◆ POL_EARGS_TYPED

#define POL_EARGS_TYPED   char const* ex_file, int ex_line, char const* ex_func

Definition at line 37 of file exceptions.h.

◆ POL_EARGS_UNTYPED

#define POL_EARGS_UNTYPED   ex_file, ex_line, ex_func

Definition at line 38 of file exceptions.h.

◆ POL_EXCEPT_VIRTFUNCS

#define POL_EXCEPT_VIRTFUNCS (   etn)
Value:
char const *etn::getType(void) const throw() { return #etn " *"; } \
lsst::pex::exceptions::Exception *etn::clone(void) const { \
return new etn(*this); \
}

Definition at line 39 of file exceptions.h.