HydraExpress™ C++ API Reference Guide

 
Loading...
Searching...
No Matches
rwsf::XmlException Class Reference

Defines a base exception class for all exceptions related to the XML subsystem. More...

#include <rwsf/core/XmlException.h>

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

Public Member Functions

 XmlException (const rwsf::ExceptionInfo &eInfo)
 XmlException (const rwsf::ExceptionInfo &eInfo, const rwsf::LocalizedMessage &msg)
virtual ~XmlException () noexcept
virtual Exceptionclone (void) const
virtual void raise (void) const
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

XmlException defines a base exception class for all exceptions related to the XML subsystem.

Constructor & Destructor Documentation

◆ XmlException() [1/2]

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

Constructs a general XML exception with an empty message.

◆ XmlException() [2/2]

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

Constructs a general XML exception with the given message.

◆ ~XmlException()

virtual rwsf::XmlException::~XmlException ( )
virtualnoexcept

Destructor.

Member Function Documentation

◆ clone()

virtual Exception * rwsf::XmlException::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::Exception.

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

◆ raise()

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

Throws self. Overridden in derived classes to throw the correct derived type.

Reimplemented from rwsf::Exception.

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

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