lsst.pex.policy  14.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
lsst::pex::policy::FormatSyntaxError Class Reference

an exception thrown because a syntax error specific to the format being parsed was encountered. More...

#include <parserexceptions.h>

Inheritance diagram for lsst::pex::policy::FormatSyntaxError:
lsst::pex::policy::SyntaxError lsst::pex::policy::ParserError

Public Member Functions

 FormatSyntaxError (POL_EARGS_TYPED)
 Create an exception the exception with a default message. More...
 
 FormatSyntaxError (POL_EARGS_TYPED, const std::string &msg)
 Create an exception the exception with a given message. More...
 
 FormatSyntaxError (POL_EARGS_TYPED, const std::string &msg, int lineno)
 Create an exception the exception with a given message. More...
 
virtual char const * getType () const throw ()
 
virtual
lsst::pex::exceptions::Exception * 
clone () const
 
- Public Member Functions inherited from lsst::pex::policy::SyntaxError
 SyntaxError (POL_EARGS_TYPED)
 Create an exception the exception with a default message. More...
 
 SyntaxError (POL_EARGS_TYPED, const std::string &msg)
 Create an exception the exception with a given message. More...
 
 SyntaxError (POL_EARGS_TYPED, const std::string &msg, int lineno)
 Create an exception the exception with a given message. More...
 
- Public Member Functions inherited from lsst::pex::policy::ParserError
 ParserError (POL_EARGS_TYPED)
 Create an exception the exception with a default message. More...
 
 ParserError (POL_EARGS_TYPED, const std::string &msg)
 Create an exception the exception with a given message. More...
 
 ParserError (POL_EARGS_TYPED, const std::string &msg, int lineno)
 Create an exception the exception with a given message. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from lsst::pex::policy::ParserError
static std::string makeLocatedMessage (const std::string &msg, int lineno)
 

Detailed Description

an exception thrown because a syntax error specific to the format being parsed was encountered.

Definition at line 170 of file parserexceptions.h.

Constructor & Destructor Documentation

lsst::pex::policy::FormatSyntaxError::FormatSyntaxError ( POL_EARGS_TYPED  )
inline

Create an exception the exception with a default message.

Definition at line 176 of file parserexceptions.h.

lsst::pex::policy::FormatSyntaxError::FormatSyntaxError ( POL_EARGS_TYPED  ,
const std::string &  msg 
)
inline

Create an exception the exception with a given message.

Parameters
msga message describing the problem.

Definition at line 183 of file parserexceptions.h.

lsst::pex::policy::FormatSyntaxError::FormatSyntaxError ( POL_EARGS_TYPED  ,
const std::string &  msg,
int  lineno 
)
inline

Create an exception the exception with a given message.

Parameters
msga message describing the problem.
linenoa line number in the file (or stream) being parsed where the problem occurred. The first line of the file is typically line 1.

Definition at line 193 of file parserexceptions.h.

Member Function Documentation

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

Reimplemented from lsst::pex::policy::SyntaxError.

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

Reimplemented from lsst::pex::policy::SyntaxError.


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