RetsSqlException Class Reference

RetsSqlException is an implementation of RetsException that is thrown for errors in the Sql to Dmql parser. More...

#include <librets/RetsSqlException.h>

Inheritance diagram for RetsSqlException:

RetsException

List of all members.

Public Member Functions

 RetsSqlException (std::string message)
 Constructor with the error message.
virtual ~RetsSqlException () throw ()
virtual std::string GetName () const throw ()
 Returns the name of this exception.
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

RetsSqlException is an implementation of RetsException that is thrown for errors in the Sql to Dmql parser.

Constructor & Destructor Documentation

RetsSqlException ( std::string  message  ) 

Constructor with the error message.

Parameters:
message A string containing the error message.

virtual ~RetsSqlException (  )  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.

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

Returns the name of this exception.

Returns:
Always returns "RetsSqlException"

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