cartobase 6.0.6
carto::parse_error Class Reference

parsing error More...

#include <cartobase/exception/ioexcept.h>

Inheritance diagram for carto::parse_error:
Collaboration diagram for carto::parse_error:

Public Member Functions

 parse_error (const std::string &what_arg, const std::string &token_arg, const std::string &filename_arg, int line_arg)
 Only use this version or the next one.
 
 parse_error (const std::string &what_arg, const std::string &token_arg, int line_arg)
 Only use this version or the previous one.
 
 parse_error (const std::string &what_arg, int line_arg, const std::string &filename_arg=std::string()) __attribute__((__deprecated__))
 
virtual ~parse_error () throw ()
 
int line () const
 
- Public Member Functions inherited from carto::format_error
 format_error (const std::string &arg, const std::string &filename)
 
 format_error (const std::string &filename="")
 
virtual ~format_error () throw ()
 
- Public Member Functions inherited from carto::io_error
 io_error (const std::string &arg, const std::string &filename="")
 
virtual ~io_error () throw ()
 
virtual const char * what () const throw ()
 
std::string filename () const
 

Additional Inherited Members

- Static Public Member Functions inherited from carto::io_error
static void launchErrnoExcept (const std::string &filename="")
 
static void keepExceptionPriority (std::exception &e, int &prio, int &type, std::string &message, int raiseprio=0)
 
static void launchExcept (int code, const std::string &msg, const std::string &defmsg="")
 
static void checkFatalIOErrno (const std::string &filename="")
 checks if errno is a disk full, access or quota error, then throw an exception if so.
 

Detailed Description

parsing error

Definition at line 282 of file ioexcept.h.

Constructor & Destructor Documentation

◆ parse_error() [1/3]

carto::parse_error::parse_error ( const std::string & what_arg,
const std::string & token_arg,
const std::string & filename_arg,
int line_arg )

Only use this version or the next one.

Parameters
what_argwhat the parser was waiting for
token_argcurrent token
filename_argname of the file
line_argline where the error occurred

Referenced by ~parse_error().

◆ parse_error() [2/3]

carto::parse_error::parse_error ( const std::string & what_arg,
const std::string & token_arg,
int line_arg )

Only use this version or the previous one.

Parameters
what_argwhat the parser was waiting for
token_argcurrent token
line_argline where the error occurred

◆ parse_error() [3/3]

carto::parse_error::parse_error ( const std::string & what_arg,
int line_arg,
const std::string & filename_arg = std::string() )

References __attribute__, and __deprecated__.

◆ ~parse_error()

virtual carto::parse_error::~parse_error ( )
throw ( )
virtual

References parse_error().

Member Function Documentation

◆ line()

int carto::parse_error::line ( ) const

References line().

Referenced by line().


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