HydraExpress™ C++ 2019 |
HydraExpress™ C++ API Reference Guide |
Product Documentation: HydraExpress C++ Documentation Home |
Defines a base exception class for all exceptions related to the XML subsystem. More...
#include <rwsf/core/XmlException.h>
Public Member Functions | |
XmlException (const rwsf::ExceptionInfo &eInfo) | |
XmlException (const rwsf::ExceptionInfo &eInfo, const rwsf::LocalizedMessage &msg) | |
virtual | ~XmlException () throw () |
virtual Exception * | clone (void) const |
virtual void | raise (void) const |
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) |
Exception & | operator= (const Exception &m) |
virtual bool | operator== (const Exception exc2) |
virtual const char * | what () const throw () |
Additional Inherited Members | |
Related Functions inherited from rwsf::Exception | |
#define | RWSF_DECLARE_EXCEPTION_METHODS(className) |
#define | RWSF_DEFINE_EXCEPTION_METHODS(className) |
#define | RWSF_EINFO |
XmlException defines a base exception class for all exceptions related to the XML subsystem.
rwsf::XmlException::XmlException | ( | const rwsf::ExceptionInfo & | eInfo | ) |
Constructs a general XML exception with an empty message.
rwsf::XmlException::XmlException | ( | const rwsf::ExceptionInfo & | eInfo, |
const rwsf::LocalizedMessage & | msg | ||
) |
Constructs a general XML exception with the given message.
|
virtual |
Destructor.
|
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::XmlParseLineColException, rwsf::XmlParseException, rwsf::XmlParseAttributeNotFoundException, and rwsf::XmlSchemaException.
|
virtual |
Throws self. Overridden in derived classes to throw the correct derived type.
Reimplemented from rwsf::Exception.
Reimplemented in rwsf::XmlParseLineColException, rwsf::XmlParseException, rwsf::XmlParseAttributeNotFoundException, and rwsf::XmlSchemaException.
Copyright © 2019 Rogue Wave Software, Inc. All Rights Reserved. |