Privacy
An open-source, flexible 3D physical simulation framework
mars::interfaces::SceneParseException Class Reference

#include <SceneParseException.h>

Public Member Functions

 SceneParseException (const std::string &info, int line=-1, const std::string &file="") throw ()
 
virtual ~SceneParseException () throw ()
 
virtual const char * what ()
 
int getLine ()
 
const char * getFile ()
 
const char * getInfo ()
 

Protected Attributes

int line
 if known, the line where the error occured More...
 
std::string file
 if known, the filename of the scene file. More...
 
std::string info
 informative text to the user (without filename and line). More...
 
std::string message
 informative text including line and filename. More...
 

Detailed Description

Definition at line 31 of file SceneParseException.h.

Constructor & Destructor Documentation

◆ SceneParseException()

mars::interfaces::SceneParseException::SceneParseException ( const std::string &  info,
int  line = -1,
const std::string &  file = "" 
)
throw (
)
inline

Definition at line 33 of file SceneParseException.h.

◆ ~SceneParseException()

virtual mars::interfaces::SceneParseException::~SceneParseException ( )
throw (
)
inlinevirtual

Definition at line 54 of file SceneParseException.h.

Member Function Documentation

◆ getFile()

const char* mars::interfaces::SceneParseException::getFile ( )
inline

Definition at line 65 of file SceneParseException.h.

◆ getInfo()

const char* mars::interfaces::SceneParseException::getInfo ( )
inline

Definition at line 69 of file SceneParseException.h.

◆ getLine()

int mars::interfaces::SceneParseException::getLine ( )
inline

Definition at line 61 of file SceneParseException.h.

◆ what()

virtual const char* mars::interfaces::SceneParseException::what ( )
inlinevirtual

Definition at line 57 of file SceneParseException.h.

Member Data Documentation

◆ file

std::string mars::interfaces::SceneParseException::file
protected

if known, the filename of the scene file.

Definition at line 78 of file SceneParseException.h.

◆ info

std::string mars::interfaces::SceneParseException::info
protected

informative text to the user (without filename and line).

Definition at line 81 of file SceneParseException.h.

◆ line

int mars::interfaces::SceneParseException::line
protected

if known, the line where the error occured

Definition at line 75 of file SceneParseException.h.

◆ message

std::string mars::interfaces::SceneParseException::message
protected

informative text including line and filename.

Definition at line 84 of file SceneParseException.h.


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