Umasoft
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | List of all members
xh_format_exception Class Reference

#include <exception.hpp>

Inheritance diagram for xh_format_exception:
xh_exception xh_throwable

Public Member Functions

 xh_format_exception (const string &message, const string &text, const string &origin="")
 
virtual const string & getText () const
 
virtual void setText (const string &text)
 
- Public Member Functions inherited from xh_exception
 xh_exception (const string &message, const string &origin="")
 
- Public Member Functions inherited from xh_throwable
 xh_throwable (const string &message, const string &origin="")
 
virtual const string & getMessage () const
 
virtual const string getFormattedMessage () const
 
virtual void setMessage (const string &message)
 
virtual const string & getOrigin () const
 
virtual void setOrigin (const string &origin)
 

Detailed Description

A format-related exception.

Code should throw this exception when a string does not appear in the expected format (for example, a date string does not conform to ISO 8601).

In addition to the functionality of xh_exception, an xh_format_exception can contain a copy of the original malformated text.


The documentation for this class was generated from the following files: