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

#include <exception.hpp>

Inheritance diagram for xh_io_exception:
xh_exception xh_throwable

Public Member Functions

 xh_io_exception (const string &message, const string &origin="")
 
 xh_io_exception (const string &message, const xh_location &location, const string &origin="")
 
virtual const string getFormattedMessage () const
 
virtual const xh_locationgetLocation () const
 
virtual void setLocation (const xh_location &location)
 
- 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 void setMessage (const string &message)
 
virtual const string & getOrigin () const
 
virtual void setOrigin (const string &origin)
 

Detailed Description

An I/O-related exception.

Code should throw this exception when it fails to read from or write to an external resource, such as a file, socket, URL, or database.

In addition to the functionality of xh_exception, an xh_io_exception may contain location information, such as the name of a file or URL, and possible also a location in that file or URL.


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