HydraExpress™ C++ API Reference Guide

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

Encapsulates errors that occur during parsing when an expected attribute is not found. More...

#include <rwsf/core/XmlParseAttributeNotFoundException.h>

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

Public Member Functions

 XmlParseAttributeNotFoundException (const rwsf::ExceptionInfo &eInfo, const std::string &attr)
virtual ~XmlParseAttributeNotFoundException () noexcept
std::string attrName () const
virtual Exceptionclone (void) const
virtual void raise (void) const
Public Member Functions inherited from rwsf::XmlParseException
 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
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

XmlParseAttributeNotFoundException encapsulates errors that occur during parsing when an expected attribute is not found.

Constructor & Destructor Documentation

◆ XmlParseAttributeNotFoundException()

rwsf::XmlParseAttributeNotFoundException::XmlParseAttributeNotFoundException ( const rwsf::ExceptionInfo & eInfo,
const std::string & attr )

Constructs an RWSF_CORE_XML_PARSE_ATTRIBUTE_NOT_FOUND error for the given attr.

◆ ~XmlParseAttributeNotFoundException()

virtual rwsf::XmlParseAttributeNotFoundException::~XmlParseAttributeNotFoundException ( )
virtualnoexcept

Destructor.

Member Function Documentation

◆ attrName()

std::string rwsf::XmlParseAttributeNotFoundException::attrName ( ) const

Returns the name of the attribute that was not found.

◆ clone()

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

◆ raise()

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

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

Reimplemented from rwsf::XmlParseException.

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