GammaLib  1.7.0.dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GMWLException::invalid_unit Class Reference

#include <GMWLException.hpp>

Inheritance diagram for GMWLException::invalid_unit:
GMWLExceptionHandler

Public Member Functions

 invalid_unit (std::string origin, std::string unit, std::string message="")
 Invalid or unsupported unit encountered. More...
 
- Public Member Functions inherited from GMWLExceptionHandler
 GMWLExceptionHandler (void)
 
virtual ~GMWLExceptionHandler (void) throw ()
 
virtual const char * what () const throw ()
 Exception message. More...
 

Additional Inherited Members

- Protected Attributes inherited from GMWLExceptionHandler
std::string m_origin
 
std::string m_message
 

Detailed Description

Definition at line 71 of file GMWLException.hpp.

Constructor & Destructor Documentation

GMWLException::invalid_unit::invalid_unit ( std::string  origin,
std::string  unit,
std::string  message = "" 
)

Invalid or unsupported unit encountered.

Parameters
[in]originName of method that has thrown the exception.
[in]unitUnit string.
[in]messageOptional error message.

Definition at line 104 of file GMWLException.cpp.

References GMWLExceptionHandler::m_message, and GMWLExceptionHandler::m_origin.


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