ARTS  2.2.66
ParseError Class Reference

#include <exceptions.h>

Inheritance diagram for ParseError:
Collaboration diagram for ParseError:

Public Member Functions

 ParseError (const String &s="", const String &f="", Index l=0, Index c=0)
 
virtual ~ParseError () throw ()
 
virtual String file () const
 
virtual Index line () const
 
virtual Index column () const
 

Private Attributes

String mFile
 Filename associated with this part of the text. More...
 
Index mLine
 Line where the error occured. More...
 
Index mColumn
 Column where the error occured. More...
 

Detailed Description

Definition at line 40 of file exceptions.h.

Constructor & Destructor Documentation

◆ ParseError()

ParseError::ParseError ( const String s = "",
const String f = "",
Index  l = 0,
Index  c = 0 
)
inline

Definition at line 42 of file exceptions.h.

◆ ~ParseError()

virtual ParseError::~ParseError ( )
throw (
)
inlinevirtual

Definition at line 51 of file exceptions.h.

Member Function Documentation

◆ column()

virtual Index ParseError::column ( ) const
inlinevirtual

Definition at line 55 of file exceptions.h.

References mColumn.

Referenced by ArtsParser::parse_main().

◆ file()

virtual String ParseError::file ( ) const
inlinevirtual

Definition at line 53 of file exceptions.h.

References mFile.

Referenced by ArtsParser::parse_main().

◆ line()

virtual Index ParseError::line ( ) const
inlinevirtual

Definition at line 54 of file exceptions.h.

References mLine.

Referenced by ArtsParser::parse_main().

Member Data Documentation

◆ mColumn

Index ParseError::mColumn
private

Column where the error occured.

Definition at line 63 of file exceptions.h.

Referenced by column().

◆ mFile

String ParseError::mFile
private

Filename associated with this part of the text.

Definition at line 59 of file exceptions.h.

Referenced by file().

◆ mLine

Index ParseError::mLine
private

Line where the error occured.

Definition at line 61 of file exceptions.h.

Referenced by line().


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