Public Member Functions | Protected Attributes | List of all members
ustl::error_message Class Reference
Inheritance diagram for ustl::error_message:
ustl::exception ustl::logic_error ustl::runtime_error ustl::domain_error ustl::invalid_argument ustl::length_error ustl::out_of_range ustl::overflow_error ustl::range_error ustl::underflow_error

Public Member Functions

 error_message (const char *arg) noexcept
 arg contains a description of the error.
 
virtual ~error_message (void) noexcept
 Virtual destructor.
 
virtual const char * what (void) const noexcept override
 
virtual const char * name (void) const noexcept
 
virtual void info (string &msgbuf, const char *fmt=nullptr) const noexcept override
 Returns a descriptive error message. fmt="%s: %s".
 
virtual void read (istream &is) override
 Reads the object from stream is.
 
virtual void write (ostream &os) const override
 Writes the object to stream os.
 
virtual size_t stream_size (void) const noexcept override
 Returns the size of the written object.
 
- Public Member Functions inherited from ustl::exception
void text_write (ostringstream &os) const noexcept
 Writes the exception as text into stream os.
 
xfmt_t format (void) const
 
rcbktrace_t backtrace (void) const
 

Protected Attributes

string _arg
 

Additional Inherited Members

- Public Types inherited from ustl::exception
typedef const CBacktracercbktrace_t
 
- Protected Member Functions inherited from ustl::exception
void set_format (xfmt_t fmt)
 

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

Generated on Mon Sep 28 2015 17:58:50 for uSTL by Doxygen 1.8.10