HydraExpress™ C++ API Reference Guide

 
Loading...
Searching...
No Matches
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 char *msg)
 XmlParseException (const rwsf::ExceptionInfo &eInfo)
 XmlParseException (const rwsf::ExceptionInfo &eInfo, const rwsf::LocalizedMessage &msg)
 XmlParseException (const std::string &msg)
virtual ~XmlParseException () noexcept
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 () noexcept
Public Member Functions inherited from rwsf::Exception
 Exception (const char *msg)
 Exception (const Exception &)
 Exception (const ExceptionInfo &eInfo)
 Exception (const rwsf::ExceptionInfo &eInfo, const LocalizedMessage &msg)
 Exception (const std::string &msg)
virtual ~Exception () noexcept
const char * getFileName () const
const char * getFunctionName () const
unsigned long getLineNumber () const
virtual bool operator!= (const Exception exc2)
Exceptionoperator= (const Exception &m)
virtual bool operator== (const Exception exc2)
virtual const char * what () const noexcept

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

◆ XmlParseException() [1/4]

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

Constructs an rwsf::XmlParseException with an empty message.

◆ XmlParseException() [2/4]

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

Constructs an rwsf::XmlParseException with the given message.

◆ XmlParseException() [3/4]

rwsf::XmlParseException::XmlParseException ( const char * msg)
Deprecated
Constructs an rwsf::XmlParseException with the given msg.

◆ XmlParseException() [4/4]

rwsf::XmlParseException::XmlParseException ( const std::string & msg)
Deprecated
Constructs an rwsf::XmlParseException with the given string message.

◆ ~XmlParseException()

virtual rwsf::XmlParseException::~XmlParseException ( )
virtualnoexcept

Destructor.

Member Function Documentation

◆ clone()

virtual Exception * rwsf::XmlParseException::clone ( void ) const
virtual

Creates a new copy of self on the heap. Overridden in derived classes to construct an instance of the correct derived type. It is up to the user to ensure that the returned Exception object is deleted.

Reimplemented from rwsf::XmlException.

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

◆ raise()

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

Methods defined by macro in Exception.h. raise (throw) clone (copy)

Reimplemented from rwsf::XmlException.

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

Copyright © 2026 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved.