rwlogo
HydraExpress 4.7

HydraExpress C++ API Reference Guide

Product Documentation:
   Documentation Home

List of all members | Public Member Functions
rwsf::XmlParseException Class Reference

Defines a base exception type for all errors that occur while parsing an XML document. More...

#include <rwsf/core/XmlParseException.h>

Inheritance diagram for rwsf::XmlParseException:
rwsf::XmlException rwsf::Exception rwsf::XmlParseAttributeNotFoundException rwsf::XmlParseLineColException

Public Member Functions

 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 ()
 
virtual Exceptionclone (void) const
 
virtual void raise (void) const
 
- 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...
 
Exceptionoperator= (const Exception &m)
 
virtual bool operator== (const Exception exc2)
 
virtual const char * what () const throw ()
 

Additional Inherited Members

Detailed Description

XmlParseException defines a base exception type for all errors that occur while parsing an XML document. The parse error contains a string that describes the error.

Constructor & Destructor Documentation

rwsf::XmlParseException::XmlParseException ( const rwsf::ExceptionInfo eInfo)

Constructs an rwsf::XmlParseException with an empty message.

rwsf::XmlParseException::XmlParseException ( const rwsf::ExceptionInfo eInfo,
const rwsf::LocalizedMessage &  msg 
)

Constructs an rwsf::XmlParseException with the given message.

rwsf::XmlParseException::XmlParseException ( const char *  msg)
Deprecated:
Constructs an rwsf::XmlParseException with the given msg.
rwsf::XmlParseException::XmlParseException ( const std::string &  msg)
Deprecated:
Constructs an rwsf::XmlParseException with the given string message.
virtual rwsf::XmlParseException::~XmlParseException ( ) throw ()
virtual

Destructor.

Member Function Documentation

virtual Exception* rwsf::XmlParseException::clone ( void  ) const
virtual
  • Creates a new instance of self on the heap and returns the * pointer to the user. The user is responsible for deallocating * the associated memory.

Reimplemented from rwsf::XmlException.

Reimplemented in rwsf::XmlParseLineColException, and rwsf::XmlParseAttributeNotFoundException.

virtual void rwsf::XmlParseException::raise ( void  ) const
virtual

Methods defined by macro in Exception.h. raise (throw) clone (copy)* Throws a copy of self.

Reimplemented from rwsf::XmlException.

Reimplemented in rwsf::XmlParseLineColException, and rwsf::XmlParseAttributeNotFoundException.


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.