LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
Lima::XmlSyntaxException Class Reference

#include <common/misc/Exceptions.h>

Inheritance diagram for Lima::XmlSyntaxException:

Public Types

enum  Why {
  SYNTAX_EXC , NO_DATA_EXC , DOUBLE_EXC , FWD_CLASS_EXC ,
  MULT_CLASS_EXC , EOF_EXC , NO_CODE_EXC , BAD_CODE_EXC ,
  NO_CLASS_EXC , UNK_CLASS_EXC , INT_ERROR_EXC , INV_CLASS_EXC
}
 

Public Member Functions

 XmlSyntaxException (const std::string s="XML syntax error")
 
 XmlSyntaxException (Why why)
 
 XmlSyntaxException (uint32_t lineNumber, Why why)
 
 XmlSyntaxException (uint32_t lineNumber, Why why, const Lima::LimaString &fileName)
 
virtual ~XmlSyntaxException () throw ()
 
void set (uint32_t lineNumber)
 
void set (Why why)
 
void set (const Lima::LimaString &fileName)
 

Public Attributes

uint32_t _lineNumber
 
Why _why
 
Lima::LimaString _fileName
 

Detailed Description

Definition at line 128 of file Exceptions.h.

Member Enumeration Documentation

◆ Why

Enumerator
SYNTAX_EXC 
NO_DATA_EXC 
DOUBLE_EXC 
FWD_CLASS_EXC 
MULT_CLASS_EXC 
EOF_EXC 
NO_CODE_EXC 
BAD_CODE_EXC 
NO_CLASS_EXC 
UNK_CLASS_EXC 
INT_ERROR_EXC 
INV_CLASS_EXC 

Definition at line 130 of file Exceptions.h.

Constructor & Destructor Documentation

◆ XmlSyntaxException() [1/4]

Lima::XmlSyntaxException::XmlSyntaxException ( const std::string  s = "XML syntax error")
inline

Definition at line 147 of file Exceptions.h.

◆ XmlSyntaxException() [2/4]

Lima::XmlSyntaxException::XmlSyntaxException ( Why  why)
inline

Definition at line 149 of file Exceptions.h.

◆ XmlSyntaxException() [3/4]

Lima::XmlSyntaxException::XmlSyntaxException ( uint32_t  lineNumber,
Why  why 
)
inline

Definition at line 152 of file Exceptions.h.

◆ XmlSyntaxException() [4/4]

Lima::XmlSyntaxException::XmlSyntaxException ( uint32_t  lineNumber,
Why  why,
const Lima::LimaString &  fileName 
)
inline

Definition at line 158 of file Exceptions.h.

◆ ~XmlSyntaxException()

virtual Lima::XmlSyntaxException::~XmlSyntaxException ( )
throw (
)
inlinevirtual

Definition at line 166 of file Exceptions.h.

Member Function Documentation

◆ set() [1/3]

void Lima::XmlSyntaxException::set ( const Lima::LimaString &  fileName)
inline

Definition at line 171 of file Exceptions.h.

◆ set() [2/3]

void Lima::XmlSyntaxException::set ( uint32_t  lineNumber)
inline

Definition at line 167 of file Exceptions.h.

◆ set() [3/3]

void Lima::XmlSyntaxException::set ( Why  why)
inline

Definition at line 169 of file Exceptions.h.

Member Data Documentation

◆ _fileName

Lima::LimaString Lima::XmlSyntaxException::_fileName

Definition at line 146 of file Exceptions.h.

◆ _lineNumber

uint32_t Lima::XmlSyntaxException::_lineNumber

Definition at line 144 of file Exceptions.h.

◆ _why

Why Lima::XmlSyntaxException::_why

Definition at line 145 of file Exceptions.h.


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