#include <HdfUtilities.h>
Public Member Functions | |
| Exception (const std::string &str) | |
| std::string | getText () const |
Various HdfUtilities throw an HdfUtilities::Exception when an error condition occurrs and the function can't just 'return false.'
Definition at line 34 of file HdfUtilities.h.
| HdfUtilities::Exception::Exception | ( | const std::string & | str | ) | [explicit] |
Creates an HdfUtilitiesException based on a string.
| str | Text to place into the exception. Should not be empty (but can be). |
Definition at line 43 of file HdfUtilities.h.
| std::string HdfUtilities::Exception::getText | ( | ) | const |
Gets the message from the exception.
Definition at line 53 of file HdfUtilities.h.