C++ UTC Time Library
A class to hold UTC times, and associated functionality.
 All Classes Namespaces Files Functions Pages
Public Member Functions | List of all members
utctime::UTCTimeException Class Reference

Base exception class. More...

#include <utctime.h>

Inheritance diagram for utctime::UTCTimeException:
Inheritance graph
[legend]

Public Member Functions

 UTCTimeException (const std::string msg="No error message")
 Constructor.
virtual ~UTCTimeException ()
 Destructor.
const std::string & what () const
 Returns an error message.

Detailed Description

All custom exceptions thrown by the UTCTime() class and associated functions are derived from UTCTimeException.

Constructor & Destructor Documentation

utctime::UTCTimeException::UTCTimeException ( const std::string  msg = "No error message")
inlineexplicit
Parameters
msgAn error message to print when what() is called.

Member Function Documentation

const std::string& utctime::UTCTimeException::what ( ) const
inline
Returns
A std::string containing the error message.

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