HydraExpress™ C++ API Reference Guide

Product Documentation:
   HydraExpress C++
Documentation Home
List of all members | Public Member Functions
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 () throw ()
 
std::string attrName () const
 
virtual Exceptionclone (void) const
 
virtual void raise (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)
 
 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)
 
Exceptionoperator= (const Exception &m)
 
virtual bool operator== (const Exception exc2)
 
virtual const char * what () const throw ()
 

Additional Inherited Members

Detailed Description

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

Constructor & Destructor Documentation

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.

virtual rwsf::XmlParseAttributeNotFoundException::~XmlParseAttributeNotFoundException ( )
throw (
)
virtual

Destructor.

Member Function Documentation

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

Returns the name of the attribute that was not found.

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.

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

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

Reimplemented from rwsf::XmlParseException.

Copyright © 2019 Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is registered trademark of Rogue Wave Software, Inc. in the United States and other countries, and HydraExpress is a trademark of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.