RetsUnknownMetadataException Class Reference

RetsReplyException is an implementation of RetsException that is thrown when the RETS REPLY-CODE is non-zero. More...

#include <librets/RetsUnknownMetadataException.h>

Inheritance diagram for RetsUnknownMetadataException:

RetsException

List of all members.

Public Member Functions

 RetsUnknownMetadataException (std::string metadataName)
 Construct the exception with the name of the unknown element.
virtual ~RetsUnknownMetadataException () throw ()
virtual std::string GetName () const throw ()
 Returns the name of this exception.
std::string GetMetadataName () const throw ()
 Returns the name of the unknown element.
void SetContext (const RetsExceptionContext &context)
RetsExceptionContext GetContext () const throw ()
virtual std::string GetMessage () const throw ()
 Returns the error message.
virtual std::string GetExtendedMessage () const throw ()
 Return the extended error message.
virtual void PrintContextMessage (std::ostream &outputStream) const throw ()
std::string GetContextMessage () const throw ()
virtual void PrintFullReport (std::ostream &outputStream) const throw ()
std::string GetFullReport () const throw ()
virtual const char * what () const throw ()
 Returns the error message as a C-style character string.


Detailed Description

RetsReplyException is an implementation of RetsException that is thrown when the RETS REPLY-CODE is non-zero.

Constructor & Destructor Documentation

RetsUnknownMetadataException ( std::string  metadataName  ) 

Construct the exception with the name of the unknown element.

Parameters:
metadataName A string containing the unknown metadata element.

virtual ~RetsUnknownMetadataException (  )  throw () [virtual]


Member Function Documentation

RetsExceptionContext GetContext (  )  const throw () [inherited]

std::string GetContextMessage (  )  const throw () [inherited]

virtual std::string GetExtendedMessage (  )  const throw () [virtual, inherited]

Return the extended error message.

Returns:
The extended merror message.

std::string GetFullReport (  )  const throw () [inherited]

virtual std::string GetMessage (  )  const throw () [virtual, inherited]

Returns the error message.

Returns:
The error message

Reimplemented in RetsHttpException.

std::string GetMetadataName (  )  const throw ()

Returns the name of the unknown element.

Returns:
A string containing the name of the unknown element.

virtual std::string GetName (  )  const throw () [virtual]

Returns the name of this exception.

Returns:
Always returns "RetsUnknownMetadataException"

Reimplemented from RetsException.

virtual void PrintContextMessage ( std::ostream &  outputStream  )  const throw () [virtual, inherited]

virtual void PrintFullReport ( std::ostream &  outputStream  )  const throw () [virtual, inherited]

void SetContext ( const RetsExceptionContext context  )  [inherited]

virtual const char* what (  )  const throw () [virtual, inherited]

Returns the error message as a C-style character string.

Returns:
The C-style error message


Generated by  doxygen