#include <librets/RetsReplyException.h>
Public Member Functions | |
RetsReplyException (int replyCode, std::string meaning) | |
Construct the exception with the reply code and meaning. | |
RetsReplyException (int replyCode, std::string meaning, std::string extendedMeaning) | |
Construct the exception with the reply code, meaning and extended meaning. | |
virtual | ~RetsReplyException () throw () |
int | GetReplyCode () const throw () |
Return the RETS REPLY-CODE for this exception. | |
std::string | GetMeaning () const throw () |
Return the meaning associate with the reply code. | |
std::string | GetExtendedMeaning () const throw () |
Return any extended meaning associated with this reply code. | |
virtual std::string | GetName () const throw () |
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. |
RetsReplyException | ( | int | replyCode, | |
std::string | meaning | |||
) |
Construct the exception with the reply code and meaning.
replyCode | The RETS REPLY-CODE sent with the transaction. | |
meaning | A string containing the meaning of the reply code. |
RetsReplyException | ( | int | replyCode, | |
std::string | meaning, | |||
std::string | extendedMeaning | |||
) |
Construct the exception with the reply code, meaning and extended meaning.
replyCode | The RETS REPLY-CODE sent with the transaction. | |
meaning | A string containing the meaning of the reply code. | |
extendedMeaning | A string containing optional additional text qualifying the exception. |
virtual ~RetsReplyException | ( | ) | throw () [virtual] |
RetsExceptionContext GetContext | ( | ) | const throw () [inherited] |
std::string GetContextMessage | ( | ) | const throw () [inherited] |
std::string GetExtendedMeaning | ( | ) | const throw () |
Return any extended meaning associated with this reply code.
virtual std::string GetExtendedMessage | ( | ) | const throw () [virtual, inherited] |
Return the extended error message.
std::string GetFullReport | ( | ) | const throw () [inherited] |
std::string GetMeaning | ( | ) | const throw () |
Return the meaning associate with the reply code.
virtual std::string GetMessage | ( | ) | const throw () [virtual, inherited] |
virtual std::string GetName | ( | ) | const throw () [virtual, inherited] |
Reimplemented in RetsHttpException, RetsSqlException, and RetsUnknownMetadataException.
int GetReplyCode | ( | ) | const throw () |
Return the RETS REPLY-CODE
for this exception.
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.