Public Member Functions | List of all members
ustl::range_error Class Reference

Reports data that does not fall within the permitted range. More...

#include <ustl.h>

Inheritance diagram for ustl::range_error:
ustl::runtime_error ustl::error_message ustl::exception

Public Member Functions

 range_error (const char *arg) noexcept
 
virtual const char * name (void) const noexcept override
 
- Public Member Functions inherited from ustl::runtime_error
 runtime_error (const char *arg) noexcept
 
- Public Member Functions inherited from ustl::error_message
 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 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
 

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)
 
- Protected Attributes inherited from ustl::error_message
string _arg
 

Detailed Description

Reports data that does not fall within the permitted range.


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

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