openvrml::invalid_vrml Class Reference

Exception thrown when the parser fails due to errors in the VRML input. More...

#include <openvrml/browser.h>

Inherits std::runtime_error.

Public Member Functions

 invalid_vrml (const std::string &url, size_t line, size_t column, const std::string &message)
 Construct. More...
 
virtual ~invalid_vrml () throw ()
 Destroy. More...
 

Public Attributes

const std::string url
 Resource identifier. More...
 
const size_t line
 Line number. More...
 
const size_t column
 Column number. More...
 

Detailed Description

Exception thrown when the parser fails due to errors in the VRML input.

Constructor & Destructor Documentation

openvrml::invalid_vrml::invalid_vrml ( const std::string &  url,
size_t  line,
size_t  column,
const std::string &  message 
)

Construct.

Parameters
[in]urlresource identifier of the stream.
[in]lineline number where the error was detected.
[in]columncolumn number where the error was detected.
[in]messagedescription of the error.
openvrml::invalid_vrml::~invalid_vrml ( )
throw (
)
virtual

Destroy.

Member Data Documentation

const std::string openvrml::invalid_vrml::url

Resource identifier.

size_t openvrml::invalid_vrml::line

Line number.

size_t openvrml::invalid_vrml::column

Column number.