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

#include <parserexceptions.h>

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

Public Member Functions

 UnsupportedSyntax (POL_EARGS_TYPED)
 
 UnsupportedSyntax (POL_EARGS_TYPED, const std::string &msg)
 
 UnsupportedSyntax (POL_EARGS_TYPED, const std::string &msg, int lineno)
 
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)
 
 SyntaxError (POL_EARGS_TYPED, const std::string &msg)
 
 SyntaxError (POL_EARGS_TYPED, const std::string &msg, int lineno)
 
- Public Member Functions inherited from lsst::pex::policy::ParserError
 ParserError (POL_EARGS_TYPED)
 
 ParserError (POL_EARGS_TYPED, const std::string &msg)
 
 ParserError (POL_EARGS_TYPED, const std::string &msg, int lineno)
 

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 syntax was encountered that is legal for the format being parsed but which is not supported for encoding Policies.

Definition at line 204 of file parserexceptions.h.

Constructor & Destructor Documentation

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

Create an exception the exception with a default message.

Definition at line 210 of file parserexceptions.h.

211  : SyntaxError(POL_EARGS_UNTYPED, "Unsupported syntax error") { }
#define POL_EARGS_UNTYPED
Definition: exceptions.h:38
lsst::pex::policy::UnsupportedSyntax::UnsupportedSyntax ( 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 217 of file parserexceptions.h.

218  : SyntaxError(POL_EARGS_UNTYPED, msg) { }
#define POL_EARGS_UNTYPED
Definition: exceptions.h:38
lsst::pex::policy::UnsupportedSyntax::UnsupportedSyntax ( 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 227 of file parserexceptions.h.

228  : SyntaxError(POL_EARGS_UNTYPED, msg, lineno) { }
#define POL_EARGS_UNTYPED
Definition: exceptions.h:38

Member Function Documentation

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

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

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

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


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