HydraExpress 4.7 |
HydraExpress C++ API Reference Guide |
Product Documentation:
Documentation Home |
Defines a parse exception including line and column meta information. More...
#include <rwsf/core/XmlParseLineColException.h>
Public Member Functions | |
virtual | ~XmlParseLineColException () throw () |
size_t | getColumnNumber (void) const |
size_t | getLineNumber (void) const |
Public Member Functions inherited from rwsf::XmlParseException | |
XmlParseException (const rwsf::ExceptionInfo &eInfo) | |
XmlParseException (const rwsf::ExceptionInfo &eInfo, const rwsf::LocalizedMessage &msg) | |
XmlParseException (const char *msg) | |
XmlParseException (const std::string &msg) | |
virtual | ~XmlParseException () throw () |
Public Member Functions inherited from rwsf::XmlException | |
XmlException (const rwsf::ExceptionInfo &eInfo) | |
XmlException (const rwsf::ExceptionInfo &eInfo, const rwsf::LocalizedMessage &msg) | |
virtual | ~XmlException () throw () |
Public Member Functions inherited from rwsf::Exception | |
Exception (const ExceptionInfo &eInfo) | |
Exception (const char *msg) | |
Exception (const std::string &msg) | |
More... | |
Exception (const rwsf::ExceptionInfo &eInfo, const LocalizedMessage &msg) | |
Exception (const Exception &) | |
virtual | ~Exception () throw () |
const char * | getFileName () const |
const char * | getFunctionName () const |
unsigned long | getLineNumber () const |
virtual bool | operator!= (const Exception exc2) |
More... | |
Exception & | operator= (const Exception &m) |
virtual bool | operator== (const Exception exc2) |
virtual const char * | what () const throw () |
Private Member Functions | |
virtual Exception * | clone (void) const |
virtual void | raise (void) const |
Additional Inherited Members | |
Related Functions inherited from rwsf::Exception | |
#define | RWSF_DECLARE_EXCEPTION_METHODS(className) |
#define | RWSF_DEFINE_EXCEPTION_METHODS(className) |
#define | RWSF_EINFO |
XmlParseLineColException defines an exception type that captures line and column information for where the parse failure occurs.
The code sample below shows a try-catch block that contains a call to unmarshal(). The XML parsing error exception contains a descriptive message and the line number and column number at which the method detected the error.
|
virtual |
Destructor.
|
privatevirtual |
Reimplemented from rwsf::XmlParseException.
size_t rwsf::XmlParseLineColException::getColumnNumber | ( | void | ) | const |
Returns the column number in the XML document where the parse error occurred.
size_t rwsf::XmlParseLineColException::getLineNumber | ( | void | ) | const |
Returns the line number in the XML document where the parse error occurred.
|
privatevirtual |
Methods defined by macro in Exception.h
. raise (throw) clone (copy)* Throws a copy of self.
Reimplemented from rwsf::XmlParseException.
Copyright © Rogue Wave Software, Inc. All Rights Reserved.
The Rogue Wave name and logo are registered trademarks of Rogue Wave Software, and HydraExpress is a trademark of Rogue Wave Software. All other trademarks are the property of their respective owners.